sunrize 1.11.7 → 1.11.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +4 -4
- package/src/Undo/Editor.js +27 -7
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sunrize",
|
|
3
3
|
"productName": "Sunrize X3D Editor",
|
|
4
|
-
"version": "1.11.
|
|
4
|
+
"version": "1.11.8",
|
|
5
5
|
"description": "A Multi-Platform X3D Editor",
|
|
6
6
|
"main": "src/main.js",
|
|
7
7
|
"bin": {
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
"@vscode/codicons": "^0.0.42",
|
|
92
92
|
"capitalize": "^2.0.4",
|
|
93
93
|
"console": "^0.7.2",
|
|
94
|
-
"electron": "^39.1
|
|
94
|
+
"electron": "^39.2.1",
|
|
95
95
|
"electron-prompt": "^1.7.0",
|
|
96
96
|
"electron-squirrel-startup": "^1.0.1",
|
|
97
97
|
"electron-tabs": "^1.0.4",
|
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
"jquery-ui-dist": "^1.13.3",
|
|
101
101
|
"jstree": "^3.3.17",
|
|
102
102
|
"material-icons": "^1.13.14",
|
|
103
|
-
"material-symbols": "^0.39.
|
|
103
|
+
"material-symbols": "^0.39.3",
|
|
104
104
|
"md5": "^2.3.0",
|
|
105
105
|
"mime-types": "^3.0.1",
|
|
106
106
|
"monaco-editor": "^0.54.0",
|
|
@@ -110,7 +110,7 @@
|
|
|
110
110
|
"string-similarity": "^4.0.4",
|
|
111
111
|
"tweakpane": "^3.1.10",
|
|
112
112
|
"update-electron-app": "^3.1.1",
|
|
113
|
-
"x_ite": "^12.1.
|
|
113
|
+
"x_ite": "^12.1.8",
|
|
114
114
|
"x3d-traverse": "^1.0.22"
|
|
115
115
|
}
|
|
116
116
|
}
|
package/src/Undo/Editor.js
CHANGED
|
@@ -463,20 +463,40 @@ module .exports = class Editor
|
|
|
463
463
|
<html>
|
|
464
464
|
<head>
|
|
465
465
|
<meta charset="utf-8">
|
|
466
|
-
<script src="https://cdn.jsdelivr.net/npm/x_ite@latest/dist/x_ite.min.js"></script>
|
|
466
|
+
<script defer src="https://cdn.jsdelivr.net/npm/x_ite@latest/dist/x_ite.min.js"></script>
|
|
467
467
|
<style>
|
|
468
468
|
body {
|
|
469
|
-
|
|
470
|
-
|
|
469
|
+
color-scheme: light dark;
|
|
470
|
+
display: flex;
|
|
471
|
+
flex-direction: column;
|
|
472
|
+
margin: 0px;
|
|
473
|
+
padding: 0px;
|
|
474
|
+
height: 100vh;
|
|
475
|
+
background-color: light-dark(white, rgb(27, 27, 30));
|
|
476
|
+
color: light-dark(rgb(42, 42, 42), rgb(175, 176, 177));
|
|
477
|
+
font-family: sans-serif;
|
|
471
478
|
}
|
|
472
479
|
|
|
473
|
-
|
|
474
|
-
|
|
480
|
+
body > * {
|
|
481
|
+
flex: 0 0 auto;
|
|
482
|
+
padding: 0px 1rem;
|
|
475
483
|
}
|
|
476
484
|
|
|
477
485
|
x3d-canvas {
|
|
478
|
-
|
|
479
|
-
|
|
486
|
+
flex: 1 1 auto;
|
|
487
|
+
border-top: 2px solid light-dark(rgb(42, 42, 42), rgb(175, 176, 177));
|
|
488
|
+
border-bottom: 2px solid light-dark(rgb(42, 42, 42), rgb(175, 176, 177));
|
|
489
|
+
padding: 0px;
|
|
490
|
+
width: 100%;
|
|
491
|
+
height: 100%;
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
a {
|
|
495
|
+
color: light-dark(rgb(0, 86, 178), rgb(82, 108, 150));
|
|
496
|
+
}
|
|
497
|
+
|
|
498
|
+
a:hover {
|
|
499
|
+
color: light-dark(rgb(210, 96, 58), rgb(210, 96, 58))
|
|
480
500
|
}
|
|
481
501
|
</style>
|
|
482
502
|
</head>
|