mirror of
https://github.com/khairul169/honey.git
synced 2026-10-04 18:03:54 +07:00
ui: Wallpaper motion fix on theme change
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user