@dualbox/editor 1.0.13 → 1.0.15

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.
@@ -56,7 +56,7 @@ class GraphModel {
56
56
 
57
57
  this.data.root = json;
58
58
  this.data.app = this.data.root; // reset ptr
59
- this.data.windows = [[ "Application", this.data.app ]];
59
+ this.data.windows = [[ this.e.rootAppName, this.data.app ]];
60
60
 
61
61
  await this.addNativeTypes();
62
62
 
@@ -297,7 +297,7 @@
297
297
  padding-bottom: 10px;
298
298
  }
299
299
 
300
- .dark, .graph-tab.active {
300
+ .dark, .graph-tab.active, nav-item.active .graph-tab {
301
301
  color: white!important;
302
302
  background-color: #555!important;
303
303
  }
@@ -86,7 +86,7 @@
86
86
  </div>
87
87
  </div>
88
88
  <div class="tab-pane" id="2" style="width 100%; height: 100%; background-color: white;">
89
- <div class="main" style="width: 100%; height: 100%; overflow: hidden;">
89
+ <div class="db-editor-main" style="width: 100%; height: 100%; overflow: hidden;">
90
90
  <div class="code-panel">
91
91
  <div class="button-bar form-inline code-controls" style="position: relative;">
92
92
  <button class="btn btn-primary btn-save-interface-element">Save changes</button>
@@ -28,7 +28,7 @@ var TemplateBinds = function(view, div) {
28
28
  });
29
29
  $(document).mousemove(function(e){
30
30
  $('.code-panel').css('width', e.pageX + "px");
31
- $('.application-container').css('width', ($(".main").width() - e.pageX - 5) + "px");
31
+ $('.application-container').css('width', ($(".db-editor-main").width() - e.pageX - 5) + "px");
32
32
  })
33
33
  });
34
34
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dualbox/editor",
3
- "version": "1.0.13",
3
+ "version": "1.0.15",
4
4
  "description": "Editor of Dualbox apps",
5
5
  "browser": "js/dist/GraphEditor.js",
6
6
  "main": "js/dist/GraphEditor.js",