lexgui 0.6.3 → 0.6.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/build/components/nodegraph.js +4 -4
- package/build/components/timeline.js +1580 -2656
- package/build/components/videoeditor.js +72 -46
- package/build/lexgui.js +11859 -11919
- package/build/lexgui.min.js +1 -1
- package/build/lexgui.module.js +11880 -11941
- package/build/lexgui.module.min.js +1 -1
- package/changelog.md +19 -1
- package/demo.js +13 -12
- package/examples/all_widgets.html +29 -0
- package/examples/dialogs.html +1 -1
- package/examples/editor.html +1104 -0
- package/examples/index.html +1 -0
- package/examples/previews/editor.png +0 -0
- package/examples/timeline.html +54 -28
- package/package.json +7 -4
|
@@ -2761,13 +2761,13 @@ class GraphEditor {
|
|
|
2761
2761
|
nameDom.innerText = name;
|
|
2762
2762
|
|
|
2763
2763
|
// Change name in sidebar
|
|
2764
|
-
const
|
|
2765
|
-
const sidebarItem = this._sidebar.items.find( v => v.name === graphNameKey );
|
|
2764
|
+
const sidebarItem = this._sidebar.items.find( v => v.name === this.currentGraph.name );
|
|
2766
2765
|
if( sidebarItem )
|
|
2767
2766
|
{
|
|
2768
|
-
sidebarItem.name
|
|
2767
|
+
const oldName = sidebarItem.name;
|
|
2768
|
+
sidebarItem.name = name;
|
|
2769
2769
|
sidebarItem.dom.id = newNameKey;
|
|
2770
|
-
sidebarItem.dom.innerHTML = sidebarItem.dom.innerHTML.replace(
|
|
2770
|
+
sidebarItem.dom.innerHTML = sidebarItem.dom.innerHTML.replace( oldName, name );
|
|
2771
2771
|
}
|
|
2772
2772
|
|
|
2773
2773
|
// Change registered nodes function
|