fix config
This commit is contained in:
parent
7ff1ac3b1b
commit
95c0dce37b
@ -1 +1 @@
|
||||
{"lastUsed":[],"foldPerCol":50,"folded":false,"editorLastFloorId":"sample0","disableBlocklyReplace":false,"shortcut":{"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0}}
|
||||
{"lastUsed":[],"foldPerCol":50,"folded":false,"editorLastFloorId":null,"disableBlocklyReplace":false,"shortcut":{"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0}}
|
||||
@ -39,7 +39,7 @@ editor_materialpanel_wrapper = function (editor) {
|
||||
var perCol = parseInt(prompt("请输入折叠素材模式下每列的个数:", "50")) || 0;
|
||||
if (perCol > 0) {
|
||||
editor.config.set('foldPerCol', perCol, false);
|
||||
editor.config.set('folded', false, function() {
|
||||
editor.config.set('folded', true, function() {
|
||||
window.location.reload();
|
||||
});
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user