lexgui 0.1.28 → 0.1.29
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 +7 -2
- package/build/components/nodegraph.js +2746 -361
- package/build/lexgui.css +286 -36
- package/build/lexgui.js +156 -107
- package/build/lexgui.module.js +144 -95
- package/changelog.md +11 -0
- package/examples/code_editor.html +13 -10
- package/examples/node_graph.html +1 -1
- package/package.json +1 -1
|
@@ -174,7 +174,10 @@ class ScrollBar {
|
|
|
174
174
|
|
|
175
175
|
this.root = document.createElement( 'div' );
|
|
176
176
|
this.root.className = "lexcodescrollbar";
|
|
177
|
-
|
|
177
|
+
|
|
178
|
+
if( type & ScrollBar.SCROLLBAR_VERTICAL )
|
|
179
|
+
this.root.classList.add( 'vertical' );
|
|
180
|
+
else if( type & ScrollBar.SCROLLBAR_HORIZONTAL )
|
|
178
181
|
this.root.classList.add( 'horizontal' );
|
|
179
182
|
|
|
180
183
|
this.thumb = document.createElement( 'div' );
|
|
@@ -1512,9 +1515,11 @@ class CodeEditor {
|
|
|
1512
1515
|
doAsync( () => {
|
|
1513
1516
|
|
|
1514
1517
|
// Change css a little bit...
|
|
1515
|
-
this.gutter.style.height = "calc(100% -
|
|
1518
|
+
this.gutter.style.height = "calc(100% - 28px)";
|
|
1516
1519
|
this.root.querySelectorAll( '.code' ).forEach( e => e.style.height = "calc(100% - 6px)" );
|
|
1517
1520
|
this.root.querySelector( '.lexareatabscontent' ).style.height = "calc(100% - 23px)";
|
|
1521
|
+
this.base_area.root.querySelector( '.lexcodescrollbar.vertical' ).style.height = "calc(100% - 27px)";
|
|
1522
|
+
this.tabs.area.root.classList.add( 'no-code-info' );
|
|
1518
1523
|
|
|
1519
1524
|
}, 100);
|
|
1520
1525
|
}
|