configEditor, only show keys in debug mode
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
{
|
||||
"debug": false,
|
||||
|
||||
"player.name": "Player",
|
||||
"player.leaderboards": false,
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@ class ConfigEditor extends Popup {
|
||||
let id='cfgInput-'+(lastCEId++)+'-'+key.replace(/\./g, '-');
|
||||
let label=span.appendChild(document.createElement('label'));
|
||||
label.innerText=data.name;
|
||||
label.title=key;
|
||||
if(config.getB('debug')) label.title=key;
|
||||
|
||||
let input;
|
||||
if(data.type=='boolean') {
|
||||
|
||||
Reference in New Issue
Block a user