1
0
mirror of https://github.com/valinet/ExplorerPatcher.git synced 2025-01-26 16:13:43 +01:00
Valentin Radu 968d969df6 Weather: Fixed widget failing to load when using the Microsoft icon pack
Unfortunately, besides updating the code to work with Google's latest
changes, commit 2a1aad2 introduced a bug when using the Microsoft
icon pack that prevented the widget from loading. Thus, this commit:

* Fixes that (there was no need for `getElementById('wob_tci').children[0]`
apparently)
* Besides checking for blobs in `src`, it also checks for image names,
since `wob_tci` (main icon) still contains a URL, not a blob
* Fixes `wob_tci` to update with proper icon when interacting with the
widget, for example when selecting a day with a different forecast than
the current conditions
* Simplifies some logic, seems the widget works fine without it

Hopefully this fixes the widget properly.
2023-04-21 21:49:01 -07:00
2023-03-19 05:27:08 +02:00
2021-10-13 03:38:38 +03:00
2023-03-21 00:00:56 +02:00
2023-03-18 16:02:40 +02:00
2021-11-10 04:17:17 +02:00
2021-08-09 17:17:24 +03:00
2023-03-18 16:02:40 +02:00
2023-03-21 00:00:56 +02:00

ExplorerPatcher

This project aims to enhance the working environment on Windows.

PayPal donations: here or using e-mail address valentingabrielradu@gmail.com

Read more

Description
This project aims to enhance the working environment on Windows
Readme GPL-2.0 26 MiB
Languages
QMake 87.8%
C 10%
C++ 2.2%