mirror of
https://github.com/Buriburizaem0n/live2d.git
synced 2026-02-04 11:30:02 +00:00
为极简模式修改折叠说说遮挡物的颜色
This commit is contained in:
@@ -10,13 +10,11 @@ function aplayer_panel_toggle(){
|
|||||||
if(music_flag){
|
if(music_flag){
|
||||||
$(".aplayer.aplayer-fixed .aplayer-body").addClass("my-hide");
|
$(".aplayer.aplayer-fixed .aplayer-body").addClass("my-hide");
|
||||||
$(".aplayer.aplayer-fixed .aplayer-list").addClass("my-hide zero-margin-bottom");
|
$(".aplayer.aplayer-fixed .aplayer-list").addClass("my-hide zero-margin-bottom");
|
||||||
$(".shuoshuo-content.shuoshuo-folded").removeClass("simple-shuoshuo-folded");
|
|
||||||
music_flag=false;
|
music_flag=false;
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
$(".aplayer.aplayer-fixed .aplayer-body").removeClass("my-hide");
|
$(".aplayer.aplayer-fixed .aplayer-body").removeClass("my-hide");
|
||||||
$(".aplayer.aplayer-fixed .aplayer-list").removeClass("my-hide zero-margin-bottom");
|
$(".aplayer.aplayer-fixed .aplayer-list").removeClass("my-hide zero-margin-bottom");
|
||||||
$(".shuoshuo-content.shuoshuo-folded").addClass("simple-shuoshuo-folded");
|
|
||||||
music_flag=true;
|
music_flag=true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -26,11 +24,13 @@ function simple_mode_toggle(){
|
|||||||
if(simple_mode){
|
if(simple_mode){
|
||||||
$("#content").removeClass("background-hide");
|
$("#content").removeClass("background-hide");
|
||||||
$("html").removeClass("filter-grayscale");
|
$("html").removeClass("filter-grayscale");
|
||||||
|
$(".shuoshuo-content.shuoshuo-folded").removeClass("simple-shuoshuo-folded");
|
||||||
simple_mode=false;
|
simple_mode=false;
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
$("#content").addClass("background-hide");
|
$("#content").addClass("background-hide");
|
||||||
$("html").addClass("filter-grayscale");
|
$("html").addClass("filter-grayscale");
|
||||||
|
$(".shuoshuo-content.shuoshuo-folded").addClass("simple-shuoshuo-folded");
|
||||||
simple_mode=true;
|
simple_mode=true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user