sunrize 1.7.3 → 1.7.4
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
|
@@ -1676,7 +1676,7 @@ module .exports = class OutlineView extends Interface
|
|
|
1676
1676
|
{
|
|
1677
1677
|
function truncate (string, n)
|
|
1678
1678
|
{
|
|
1679
|
-
return string .length > n ? string .slice (0, n
|
|
1679
|
+
return string .length > n ? string .slice (0, n) + "..." : string;
|
|
1680
1680
|
};
|
|
1681
1681
|
|
|
1682
1682
|
const description = fieldElement .attr ("description");
|
package/src/Editors/Panel.js
CHANGED
|
@@ -31,7 +31,7 @@ module .exports = new class Panel extends Interface
|
|
|
31
31
|
|
|
32
32
|
this .container .on ("mousedown", event => this .onmousedown (event));
|
|
33
33
|
|
|
34
|
-
this .browser .getBrowserOptions () ._ColorSpace .addFieldCallback ("Panel", () => this .
|
|
34
|
+
this .browser .getBrowserOptions () ._ColorSpace .addFieldCallback ("Panel", () => this .updateNode ());
|
|
35
35
|
|
|
36
36
|
this .setup ();
|
|
37
37
|
}
|
|
@@ -750,7 +750,7 @@ module .exports = new class Panel extends Interface
|
|
|
750
750
|
{
|
|
751
751
|
function truncate (string, n)
|
|
752
752
|
{
|
|
753
|
-
return string .length > n ? string .slice (0, n
|
|
753
|
+
return string .length > n ? string .slice (0, n) + "..." : string;
|
|
754
754
|
};
|
|
755
755
|
|
|
756
756
|
const description = fieldElement .attr ("description");
|
|
@@ -176,7 +176,7 @@ class X3DNodeTool extends X3DBaseTool
|
|
|
176
176
|
|
|
177
177
|
createTool (scene, protoName)
|
|
178
178
|
{
|
|
179
|
-
this .tool = scene .
|
|
179
|
+
this .tool = scene .protos .get (protoName) .createInstance (this .getExecutionContext ());
|
|
180
180
|
|
|
181
181
|
this .tool .getValue () .setPrivate (true);
|
|
182
182
|
|