lexgui 0.1.33 → 0.1.35
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/codeeditor.js +1 -1
- package/build/lexgui.css +38 -23
- package/build/lexgui.js +390 -322
- package/build/lexgui.module.js +432 -289
- package/changelog.md +20 -4
- package/demo.js +5 -14
- package/package.json +1 -1
package/changelog.md
CHANGED
|
@@ -1,11 +1,27 @@
|
|
|
1
1
|
# lexgui.js changelog
|
|
2
2
|
|
|
3
|
+
## 0.1.36 (dev)
|
|
4
|
+
|
|
5
|
+
## 0.1.35
|
|
6
|
+
|
|
7
|
+
Fix `moveOutAction` clamping X value.
|
|
8
|
+
Add values in curve only with MOUSE_LEFT_CLICK.
|
|
9
|
+
Curve redraw and color widget styling fixes.
|
|
10
|
+
Minor general styling improvements.
|
|
11
|
+
|
|
12
|
+
## 0.1.34
|
|
13
|
+
|
|
14
|
+
Fix setValue on Checkbox.
|
|
15
|
+
Fix position of Dropdown menu when content is scrolled.
|
|
16
|
+
`moveOutAction` option to delete or clamp curve points.
|
|
17
|
+
Minor tweaks.
|
|
18
|
+
|
|
3
19
|
## 0.1.33
|
|
4
20
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
21
|
+
Work on VideoEditor UI component.
|
|
22
|
+
Improvements Timeline.
|
|
23
|
+
Allow to select multiple options in AssetViewer.
|
|
24
|
+
Minor bug fixes.
|
|
9
25
|
|
|
10
26
|
## 0.1.32
|
|
11
27
|
|
package/demo.js
CHANGED
|
@@ -32,7 +32,7 @@ area.addMenubar( m => {
|
|
|
32
32
|
m.add( "Project/Export/DAE", { icon: "fa-solid fa-cube", short: "D", callback: () => { console.log("Exporting DAE...") }} );
|
|
33
33
|
m.add( "Project/Export/GLTF", { short: "G" } );
|
|
34
34
|
m.add( "Editor/Autosave", { type: 'checkbox', icon: "fa fa-floppy-disk", callback: (v, name) => { console.log(name + ": " + v ) } });
|
|
35
|
-
m.add( "Editor/Test", () => LX.prompt("
|
|
35
|
+
m.add( "Editor/Test", () => LX.prompt("Write in the text area below the bml instructions to move the avatar from the web application. A sample of BML instructions can be tested through the helper tabs in the right panel.", "Test?"));
|
|
36
36
|
m.add( "Editor/Settings", { icon: "fa-solid fa-gears", callback: () => {
|
|
37
37
|
const dialog = new LX.Dialog( "Settings", p => {
|
|
38
38
|
p.addText("A Text", "Testing first widget");
|
|
@@ -433,6 +433,7 @@ function fillPanel( panel ) {
|
|
|
433
433
|
window.tree = panel.addTree("Scene Tree", sceneData, {
|
|
434
434
|
icons: treeIcons,
|
|
435
435
|
// filter: false,
|
|
436
|
+
addDefault: true,
|
|
436
437
|
onevent: (event) => {
|
|
437
438
|
console.log(event.string());
|
|
438
439
|
|
|
@@ -453,19 +454,9 @@ function fillPanel( panel ) {
|
|
|
453
454
|
console.log(event.node.id + " dbl clicked");
|
|
454
455
|
break;
|
|
455
456
|
case LX.TreeEvent.NODE_CONTEXTMENU:
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
m.add( "Select Children", () => console.log("select children") );
|
|
461
|
-
m.add( "Clone", { callback: () => console.log("Clone"), color: "#0d5" } );
|
|
462
|
-
m.add( "Components/Transform");
|
|
463
|
-
m.add( "Components/MeshRenderer");
|
|
464
|
-
m.add( "Move before sibling" );
|
|
465
|
-
m.add( "Move after sibling" );
|
|
466
|
-
m.add( "Move to parent" );
|
|
467
|
-
m.add( "Delete" );
|
|
468
|
-
});
|
|
457
|
+
const m = event.panel;
|
|
458
|
+
m.add( "Components/Transform");
|
|
459
|
+
m.add( "Components/MeshRenderer");
|
|
469
460
|
break;
|
|
470
461
|
case LX.TreeEvent.NODE_DRAGGED:
|
|
471
462
|
console.log(event.node.id + " is now child of " + event.value.id);
|