mirror of
https://github.com/Buriburizaem0n/live2d.git
synced 2026-02-04 03:20:02 +00:00
为极简模式修改折叠说说遮挡物的颜色
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user