From 09b752cf225215956b6ecc829ae1abc38a7a89b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=91=E5=B0=8F=E9=B8=A6?= <61354956+crowya@users.noreply.github.com> Date: Fri, 28 Jul 2023 20:23:13 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=BA=E6=9E=81=E7=AE=80=E6=A8=A1=E5=BC=8F?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8A=98=E5=8F=A0=E8=AF=B4=E8=AF=B4=E9=81=AE?= =?UTF-8?q?=E6=8C=A1=E7=89=A9=E7=9A=84=E9=A2=9C=E8=89=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- live2d/waifu-tips.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/live2d/waifu-tips.js b/live2d/waifu-tips.js index 8ba002d..d912897 100644 --- a/live2d/waifu-tips.js +++ b/live2d/waifu-tips.js @@ -10,13 +10,11 @@ function aplayer_panel_toggle(){ if(music_flag){ $(".aplayer.aplayer-fixed .aplayer-body").addClass("my-hide"); $(".aplayer.aplayer-fixed .aplayer-list").addClass("my-hide zero-margin-bottom"); - $(".shuoshuo-content.shuoshuo-folded").removeClass("simple-shuoshuo-folded"); music_flag=false; } else{ $(".aplayer.aplayer-fixed .aplayer-body").removeClass("my-hide"); $(".aplayer.aplayer-fixed .aplayer-list").removeClass("my-hide zero-margin-bottom"); - $(".shuoshuo-content.shuoshuo-folded").addClass("simple-shuoshuo-folded"); music_flag=true; } } @@ -26,11 +24,13 @@ function simple_mode_toggle(){ if(simple_mode){ $("#content").removeClass("background-hide"); $("html").removeClass("filter-grayscale"); + $(".shuoshuo-content.shuoshuo-folded").removeClass("simple-shuoshuo-folded"); simple_mode=false; } else{ $("#content").addClass("background-hide"); $("html").addClass("filter-grayscale"); + $(".shuoshuo-content.shuoshuo-folded").addClass("simple-shuoshuo-folded"); simple_mode=true; } }