src/Builder4/WindowLeftProps.bjs
authorAlan <alan@roojs.com>
Thu, 9 Jun 2022 06:33:25 +0000 (14:33 +0800)
committerAlan <alan@roojs.com>
Thu, 9 Jun 2022 06:33:25 +0000 (14:33 +0800)
src/Builder4/WindowLeftProps.vala

src/Builder4/WindowLeftProps.bjs
src/Builder4/WindowLeftProps.vala

index dd0beba..c6ab252 100644 (file)
@@ -46,7 +46,8 @@
         "clicked" : [
          "  ( ) => {",
          "    ",
-         "     _this.main_window.windowstate.showProps(this.el, JsRender.NodePropType.PROP);",
+         "     _this.main_window.windowstate.showProps(this.view.el, ",
+         "     \t\tJsRender.NodePropType.PROP);",
          "  ",
          "}"
         ]
@@ -73,7 +74,8 @@
          "  ( ) => {",
          "    ",
          " ",
-         "   _this.main_window.windowstate.showProps(this.el, JsRender.NodePropType.LISTENER);",
+         "   _this.main_window.windowstate.showProps(this.view.el, ",
+         "   JsRender.NodePropType.LISTENER);",
          "",
          " ",
          "}"
index d122344..72d720a 100644 (file)
@@ -600,7 +600,8 @@ public class Xcls_LeftProps : Object
             //listeners
             this.el.clicked.connect( ( ) => {
                 
-                 _this.main_window.windowstate.showProps(this.el, JsRender.NodePropType.PROP);
+                 _this.main_window.windowstate.showProps(this.view.el, 
+                               JsRender.NodePropType.PROP);
               
             });
         }
@@ -660,7 +661,8 @@ public class Xcls_LeftProps : Object
             this.el.clicked.connect( ( ) => {
                 
              
-               _this.main_window.windowstate.showProps(this.el, JsRender.NodePropType.LISTENER);
+               _this.main_window.windowstate.showProps(this.view.el, 
+               JsRender.NodePropType.LISTENER);
             
              
             });