sunrize 2.3.1 → 2.3.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "sunrize",
3
3
  "productName": "Sunrize X3D Editor",
4
- "version": "2.3.1",
4
+ "version": "2.3.2",
5
5
  "description": "Sunrize — A Multi-Platform X3D Editor",
6
6
  "main": "src/main.js",
7
7
  "bin": {
@@ -1038,7 +1038,7 @@ module .exports = class Application
1038
1038
  },
1039
1039
  {
1040
1040
  name: _("3D"),
1041
- extensions: ["gltf", "glb", "vrm", "obj", "stl", "ply", "sog", "spz", "off", "svg"],
1041
+ extensions: ["gltf", "glb", "vrm", "obj", "stl", "ply", "sog", "spz", "off", "svg", "svgz"],
1042
1042
  },
1043
1043
  {
1044
1044
  name: _("Audio"),
@@ -8,10 +8,10 @@ module .exports = class Registry
8
8
  {
9
9
  static addWindowsFileTypes ()
10
10
  {
11
- if (process .platform !== "win32")
11
+ if (!electron .app .isPackaged)
12
12
  return;
13
13
 
14
- if (!electron .app .isPackaged)
14
+ if (process .platform !== "win32")
15
15
  return;
16
16
 
17
17
  const
@@ -2,7 +2,7 @@
2
2
 
3
3
  const Document = require ("./Document");
4
4
 
5
- module .exports = new class Window extends Document
5
+ class Window extends Document
6
6
  {
7
7
  constructor ()
8
8
  {
@@ -13,3 +13,5 @@ module .exports = new class Window extends Document
13
13
  this .setup ();
14
14
  }
15
15
  };
16
+
17
+ module .exports = new Window ();
@@ -332,6 +332,57 @@
332
332
  <key>LSIsAppleDefaultForType</key>
333
333
  <true/>
334
334
  </dict>
335
+ <dict>
336
+ <key>CFBundleTypeExtensions</key>
337
+ <array>
338
+ <string>sog</string>
339
+ <string>SOG</string>
340
+ </array>
341
+ <key>CFBundleTypeMIMETypes</key>
342
+ <array>
343
+ <string>model/sog</string>
344
+ </array>
345
+ <key>CFBundleTypeName</key>
346
+ <string>Spatially Ordered Gaussians</string>
347
+ <key>CFBundleTypeRole</key>
348
+ <string>Editor</string>
349
+ <key>LSHandlerRank</key>
350
+ <string>Alternate</string>
351
+ </dict>
352
+ <dict>
353
+ <key>CFBundleTypeExtensions</key>
354
+ <array>
355
+ <string>spz</string>
356
+ <string>SPZ</string>
357
+ </array>
358
+ <key>CFBundleTypeMIMETypes</key>
359
+ <array>
360
+ <string>model/spz</string>
361
+ </array>
362
+ <key>CFBundleTypeName</key>
363
+ <string>SPlat Zip</string>
364
+ <key>CFBundleTypeRole</key>
365
+ <string>Editor</string>
366
+ <key>LSHandlerRank</key>
367
+ <string>Alternate</string>
368
+ </dict>
369
+ <dict>
370
+ <key>CFBundleTypeExtensions</key>
371
+ <array>
372
+ <string>off</string>
373
+ <string>OFF</string>
374
+ </array>
375
+ <key>CFBundleTypeMIMETypes</key>
376
+ <array>
377
+ <string>model/off</string>
378
+ </array>
379
+ <key>CFBundleTypeName</key>
380
+ <string>Object File Format</string>
381
+ <key>CFBundleTypeRole</key>
382
+ <string>Editor</string>
383
+ <key>LSHandlerRank</key>
384
+ <string>Alternate</string>
385
+ </dict>
335
386
  <dict>
336
387
  <key>CFBundleTypeExtensions</key>
337
388
  <array>
@@ -349,6 +400,23 @@
349
400
  <key>LSHandlerRank</key>
350
401
  <string>Alternate</string>
351
402
  </dict>
403
+ <dict>
404
+ <key>CFBundleTypeExtensions</key>
405
+ <array>
406
+ <string>svgz</string>
407
+ <string>SVGZ</string>
408
+ </array>
409
+ <key>CFBundleTypeMIMETypes</key>
410
+ <array>
411
+ <string>image/svg+xml</string>
412
+ </array>
413
+ <key>CFBundleTypeName</key>
414
+ <string>Scalable Vector Graphics Image</string>
415
+ <key>CFBundleTypeRole</key>
416
+ <string>Editor</string>
417
+ <key>LSHandlerRank</key>
418
+ <string>Alternate</string>
419
+ </dict>
352
420
  </array>
353
421
  </dict>
354
422
  </plist>
@@ -42,9 +42,21 @@ Windows Registry Editor Version 5.00
42
42
  [HKEY_CURRENT_USER\Software\Classes\.ply\OpenWithProgids]
43
43
  "Sunrize.ply"=""
44
44
 
45
+ [HKEY_CURRENT_USER\Software\Classes\.sog\OpenWithProgids]
46
+ "Sunrize.sog"=""
47
+
48
+ [HKEY_CURRENT_USER\Software\Classes\.spz\OpenWithProgids]
49
+ "Sunrize.spz"=""
50
+
51
+ [HKEY_CURRENT_USER\Software\Classes\.off\OpenWithProgids]
52
+ "Sunrize.off"=""
53
+
45
54
  [HKEY_CURRENT_USER\Software\Classes\.svg\OpenWithProgids]
46
55
  "Sunrize.svg"=""
47
56
 
57
+ [HKEY_CURRENT_USER\Software\Classes\.svgz\OpenWithProgids]
58
+ "Sunrize.svgz"=""
59
+
48
60
  [HKEY_CURRENT_USER\Software\Classes\Sunrize.x3d]
49
61
  @="X3D XML Model"
50
62
  [HKEY_CURRENT_USER\Software\Classes\Sunrize.x3d\DefaultIcon]
@@ -143,9 +155,37 @@ Windows Registry Editor Version 5.00
143
155
  [HKEY_CURRENT_USER\Software\Classes\Sunrize.ply\shell\open\command]
144
156
  @="\"SUNRIZE_EXE\" \"%1\""
145
157
 
158
+ [HKEY_CURRENT_USER\Software\Classes\Sunrize.sog]
159
+ @="Scalable Vector Graphics"
160
+ [HKEY_CURRENT_USER\Software\Classes\Sunrize.sog\DefaultIcon]
161
+ @="\"SUNRIZE_EXE\",0"
162
+ [HKEY_CURRENT_USER\Software\Classes\Sunrize.sog\shell\open\command]
163
+ @="\"SUNRIZE_EXE\" \"%1\""
164
+
165
+ [HKEY_CURRENT_USER\Software\Classes\Sunrize.spz]
166
+ @="Scalable Vector Graphics"
167
+ [HKEY_CURRENT_USER\Software\Classes\Sunrize.spz\DefaultIcon]
168
+ @="\"SUNRIZE_EXE\",0"
169
+ [HKEY_CURRENT_USER\Software\Classes\Sunrize.spz\shell\open\command]
170
+ @="\"SUNRIZE_EXE\" \"%1\""
171
+
172
+ [HKEY_CURRENT_USER\Software\Classes\Sunrize.off]
173
+ @="Scalable Vector Graphics"
174
+ [HKEY_CURRENT_USER\Software\Classes\Sunrize.off\DefaultIcon]
175
+ @="\"SUNRIZE_EXE\",0"
176
+ [HKEY_CURRENT_USER\Software\Classes\Sunrize.off\shell\open\command]
177
+ @="\"SUNRIZE_EXE\" \"%1\""
178
+
146
179
  [HKEY_CURRENT_USER\Software\Classes\Sunrize.svg]
147
180
  @="Scalable Vector Graphics"
148
181
  [HKEY_CURRENT_USER\Software\Classes\Sunrize.svg\DefaultIcon]
149
182
  @="\"SUNRIZE_EXE\",0"
150
183
  [HKEY_CURRENT_USER\Software\Classes\Sunrize.svg\shell\open\command]
151
184
  @="\"SUNRIZE_EXE\" \"%1\""
185
+
186
+ [HKEY_CURRENT_USER\Software\Classes\Sunrize.svgz]
187
+ @="Scalable Vector Graphics"
188
+ [HKEY_CURRENT_USER\Software\Classes\Sunrize.svgz\DefaultIcon]
189
+ @="\"SUNRIZE_EXE\",0"
190
+ [HKEY_CURRENT_USER\Software\Classes\Sunrize.svgz\shell\open\command]
191
+ @="\"SUNRIZE_EXE\" \"%1\""
@@ -1058,6 +1058,10 @@ body.dark .ui-widget .library-list .component {
1058
1058
  background: var(--secondary-toolbar-color);
1059
1059
  }
1060
1060
 
1061
+ #footer:empty::after {
1062
+ height: 100%;
1063
+ }
1064
+
1061
1065
  #footer > .ui-tabs-nav li {
1062
1066
  position: relative;
1063
1067
  border: 1px solid transparent;
@@ -1507,6 +1511,8 @@ body.light .console-output .selected {
1507
1511
  overflow: hidden;
1508
1512
  margin-left: 1px;
1509
1513
  border-top-left-radius: var(--toolbar-outer-radius);
1514
+ height: 100%;
1515
+ background-color: var(--sidebar-background-color);
1510
1516
  }
1511
1517
 
1512
1518
  .sidebar.ui-widget.ui-widget-content {
@@ -1514,7 +1520,6 @@ body.light .console-output .selected {
1514
1520
  box-sizing: border-box;
1515
1521
  width: 100%;
1516
1522
  height: 100%;
1517
- background-color: var(--sidebar-background-color);
1518
1523
  }
1519
1524
 
1520
1525
  .sidebar.ui-tabs .ui-tabs-nav {