This commit is contained in:
libccy 2017-03-18 17:05:28 +08:00
parent 96367ce168
commit 42201c18a3
1 changed files with 11 additions and 5 deletions

View File

@ -34773,9 +34773,14 @@
},
charactercard:function(name,sourcenode,noedit){
if(_status.dragged) return;
if(lib.config.theme!='simple') ui.window.classList.add('shortcutpaused');
// ui.window.classList.add('systempaused');
if(lib.config.theme!='simple'){
ui.window.classList.add('shortcutpaused');
ui.menuContainer.classList.add('forceopaque');
}
else{
ui.window.classList.add('systempaused');
ui.menuContainer.classList.add('transparent2');
}
if(lib.config.blur_ui){
ui.arena.classList.add('blur');
ui.system.classList.add('blur');
@ -34786,8 +34791,9 @@
if(_status.touchpopping) return;
if(_status.dragged) return;
ui.window.classList.remove('shortcutpaused');
// ui.window.classList.remove('systempaused');
ui.window.classList.remove('systempaused');
ui.menuContainer.classList.remove('forceopaque');
ui.menuContainer.classList.remove('transparent2');
ui.arena.classList.remove('blur');
ui.system.classList.remove('blur');
ui.menuContainer.classList.remove('blur');