This commit is contained in:
libccy 2016-07-26 15:34:30 +08:00
parent 9b36118a11
commit f160aa158c
3 changed files with 18 additions and 2 deletions

View File

@ -1056,6 +1056,11 @@
if(!lib.config.title) document.title='无名杀';
}
},
show_extensionmaker:{
name:'显示制作扩展',
init:true,
unfrequent:true,
},
blur_ui:{
name:'模糊效果',
init:false,
@ -21519,6 +21524,7 @@
}
(function(){
if(!lib.device&&!lib.db) return;
if(lib.config.show_extensionmaker==false) return;
var page=ui.create.div('#create-extension');
var node=ui.create.div('.menubutton.large','制作扩展',start.firstChild,clickMode);
node.link=page;
@ -22380,6 +22386,10 @@
confirmcontainer.style.display='none';
container.code=get.stringify(lib.card[selectname.value]);
codeButton.onclick.call(codeButton);
var description=newCard.querySelector('input.new_description');
if(!description.value){
description.value=lib.translate[selectname.value+'_info'];
}
}
var citecancel=document.createElement('button');
@ -22893,6 +22903,10 @@
cancelSkillButton.style.display='none';
container.code=get.stringify(lib.skill[skillopt.value]);
editbutton.onclick.call(editbutton);
var description=newSkill.querySelector('input.new_description');
if(!description.value){
description.value=lib.translate[skillopt.value+'_info'];
}
}
var cancelSkillButton=document.createElement('button');
cancelSkillButton.style.display='none';

View File

@ -1,5 +1,5 @@
window.noname_update={
version:'1.8.19.1',
version:'1.8.19.2',
changeLog:[
'***注意:更新后将无法使用或导出自定义武将,请自行备份***',
'修bug',
@ -21,5 +21,7 @@ window.noname_update={
'layout/default/menu.css',
],
'1.8.18.1':[],
'1.8.19':[],
'1.8.19.1':[],
}
}

View File

@ -45,7 +45,7 @@ table{table-layout: fixed;}
}
#window.shortcutpaused>div:not(.background):not(#shortcut):not(#system):not(#arena):not(.hidden):not(.removing):not(.dialog):not(.centermenu):not(.popup-container){opacity: 0.3 !important}
#window.shortcutpaused>#arena>div:not(#timer):not(.removing):not(.hidden):not(#autonode){opacity: 0.3 !important}
#window.shortcutpaused>#system{opacity: 0.3 !important;}
#window.systempaused>#system{opacity: 0.3 !important;}
#window.noclick_important *{pointer-events: none !important;}
#window.noclick_important .noclick_click_important div{pointer-events: auto !important}