mirror of
https://github.com/khairul169/honey.git
synced 2025-04-28 14:59:32 +07:00
ui: Wallpaper motion fix on theme change
This commit is contained in:
parent
1f41b73574
commit
6487fd2572
@ -24,6 +24,7 @@ function back() {
|
|||||||
|
|
||||||
var is_dark = false;
|
var is_dark = false;
|
||||||
function switch_theme(value) {
|
function switch_theme(value) {
|
||||||
|
back();
|
||||||
if (value === undefined) value = !is_dark;
|
if (value === undefined) value = !is_dark;
|
||||||
is_dark = value;
|
is_dark = value;
|
||||||
get("css_dark").disabled = !is_dark;
|
get("css_dark").disabled = !is_dark;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user