x_ite 4.7.9 → 4.7.14
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/build/parts/x_ite.end.frag.js +0 -8
- package/build/parts/x_ite.start.frag.js +0 -5
- package/dist/assets/components/scripting.js +1 -1
- package/dist/assets/components/scripting.min.js +1 -1
- package/dist/example.html +2 -2
- package/dist/x_ite.css +13 -9
- package/dist/x_ite.js +148 -95
- package/dist/x_ite.min.js +22 -22
- package/dist/x_ite.zip +0 -0
- package/docs/Accessing-the-External-Browser.md +1 -15
- package/docs/_config.yml +1 -1
- package/docs/index.md +24 -3
- package/docs/reference/Browser-Services.md +2 -2
- package/package.json +5 -6
- package/src/standard/Utility/DataStorage.js +16 -2
- package/src/x_ite/Basic/X3DBaseNode.js +1 -1
- package/src/x_ite/Basic/X3DField.js +18 -11
- package/src/x_ite/Basic/X3DObjectArrayField.js +9 -3
- package/src/x_ite/Browser/Core/ContextMenu.js +69 -5
- package/src/x_ite/Browser/Networking/urls.js +0 -25
- package/src/x_ite/Browser/VERSION.js +1 -1
- package/src/x_ite/Components/Layering/LayerSet.js +10 -11
- package/src/x_ite/Components/Scripting/Script.js +1 -1
- package/src/x_ite/Execution/World.js +3 -3
- package/src/x_ite/Fields/ArrayFields.js +1 -1
- package/src/x_ite/Fields/SFNode.js +5 -3
- package/src/x_ite/Fields/SFNodeCache.js +7 -8
- package/src/x_ite/InputOutput/Generator.js +1 -1
- package/src/x_ite/Parser/X3DParser.js +1 -1
- package/src/x_ite/Prototype/X3DExternProtoDeclaration.js +1 -1
- package/src/x_ite/Prototype/X3DProtoDeclaration.js +1 -1
- package/src/x_ite/X3D.js +1 -1
- package/src/x_ite.css +13 -8
- package/src/x_ite.js +2 -2
package/src/x_ite.css
CHANGED
|
@@ -335,12 +335,6 @@ X3DCanvas #context-menu-layer {
|
|
|
335
335
|
letter-spacing: unset;
|
|
336
336
|
}
|
|
337
337
|
|
|
338
|
-
.x_ite-private-menu .context-menu-separator {
|
|
339
|
-
padding-top: 0;
|
|
340
|
-
padding-bottom: 0;
|
|
341
|
-
border-bottom: 1px solid #111;
|
|
342
|
-
}
|
|
343
|
-
|
|
344
338
|
.x_ite-private-menu .context-menu-item > label > input,
|
|
345
339
|
.x_ite-private-menu .context-menu-item > label > textarea {
|
|
346
340
|
all: revert;
|
|
@@ -360,13 +354,24 @@ X3DCanvas #context-menu-layer {
|
|
|
360
354
|
-moz-appearance: radio;
|
|
361
355
|
}
|
|
362
356
|
|
|
363
|
-
.x_ite-private-menu .context-menu-hover {
|
|
357
|
+
.x_ite-private-menu .context-menu-item:hover {
|
|
364
358
|
cursor: pointer;
|
|
365
359
|
background-color: #444;
|
|
366
360
|
border-top: 1px solid #eee;
|
|
367
361
|
border-bottom: 1px solid #eee;
|
|
368
362
|
}
|
|
369
363
|
|
|
364
|
+
.x_ite-private-menu .context-menu-item.context-menu-separator {
|
|
365
|
+
padding-top: 0;
|
|
366
|
+
padding-bottom: 0;
|
|
367
|
+
border-top: 0;
|
|
368
|
+
border-bottom: 1px solid #111;
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
.x_ite-private-menu .context-menu-separator + .context-menu-separator {
|
|
372
|
+
display: none !important;
|
|
373
|
+
}
|
|
374
|
+
|
|
370
375
|
.x_ite-private-menu .context-menu-disabled {
|
|
371
376
|
color: #666;
|
|
372
377
|
}
|
|
@@ -445,7 +450,7 @@ X3DCanvas #context-menu-layer {
|
|
|
445
450
|
}
|
|
446
451
|
|
|
447
452
|
.x_ite-private-menu .context-menu-item > .context-menu-list {
|
|
448
|
-
top:
|
|
453
|
+
top: -9px;
|
|
449
454
|
/* re-positioned by js */
|
|
450
455
|
right: -5px;
|
|
451
456
|
display: none;
|
package/src/x_ite.js
CHANGED
|
@@ -70,8 +70,8 @@ const getScriptURL = (function ()
|
|
|
70
70
|
{
|
|
71
71
|
if (document .currentScript)
|
|
72
72
|
var src = document .currentScript .src;
|
|
73
|
-
else if (typeof __filename === "string")
|
|
74
|
-
var src = __filename;
|
|
73
|
+
else if (typeof globalRequire === "function" && typeof __filename === "string")
|
|
74
|
+
var src = globalRequire ("url") .pathToFileURL (__filename) .href;
|
|
75
75
|
|
|
76
76
|
return function ()
|
|
77
77
|
{
|