Parcourir la source

Reset Editor to readOnly false when PGs loaded

Cubees il y a 7 ans
Parent
commit
4061e47de1
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      Playground/js/index.js

+ 1 - 0
Playground/js/index.js

@@ -326,6 +326,7 @@
                 var showDebugLayer = false;
                 var initialTabIndex = 0;
                 showBJSPGMenu();
+                jsEditor.updateOptions({readOnly: false});
 
                 if (document.getElementsByClassName('insp-wrapper').length > 0) {
                     for (var i = 0; i < engine.scenes.length; i++) {