added support for config editor; refactored the EditorPage.js file

This commit is contained in:
Alexandru Stefan committed 2021-11-11 17:25:35 +02:00
1 parent 1491c2b93e
commit 780d6e8540
9 files changed
+278 -475

No files matched your search

+5
View File
@@ -261,6 +261,11 @@ let CURRENT_PANORAMA_POSITION = 0
let CAN_SPACES_DRAW = false // This global variable regulates when spaces can or can not draw their contents.
const codeEditorType = {
CODE: "code",
CONFIG: "config"
}
function toRadians(angle) {
return angle * (Math.PI / 180);
}