From d48679709cbbecf0bd869dd2871e670f4921a92b Mon Sep 17 00:00:00 2001 From: libccy Date: Fri, 24 Mar 2017 17:30:44 +0800 Subject: [PATCH] s --- game/game.js | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/game/game.js b/game/game.js index 188313cb7..271a3d8c3 100644 --- a/game/game.js +++ b/game/game.js @@ -2407,6 +2407,12 @@ map.show_time.show(); map.watchface.hide(); } + if(lib.config.show_extensionmaker){ + map.show_extensionshare.show(); + } + else{ + map.show_extensionshare.hide(); + } }, show_history:{ name:'出牌记录栏', @@ -2803,20 +2809,16 @@ init:false, unfrequent:true, }, - // title:{ - // name:'标题栏显示信息', - // init:false, - // unfrequent:true, - // onclick:function(bool){ - // game.saveConfig('title',bool); - // if(!lib.config.title) document.title='无名杀'; - // } - // }, show_extensionmaker:{ name:'显示制作扩展', init:true, unfrequent:true, }, + show_extensionshare:{ + name:'显示分享扩展', + init:true, + unfrequent:true, + } } }, audio:{ @@ -28464,7 +28466,9 @@ buttonExport.style.display='none'; buttonExport.onclick=function(){ processExtension(true); - shareExtLine.style.display=''; + if(lib.config.show_extensionshare){ + shareExtLine.style.display=''; + } }; inputExtLine.appendChild(buttonExport); var exportExtLine=ui.create.div(pageboard);