Builder4/Editor.bjs
authorAlan Knowles <alan@akbkhome.com>
Mon, 19 May 2014 16:12:28 +0000 (00:12 +0800)
committerAlan Knowles <alan@akbkhome.com>
Mon, 19 May 2014 16:12:28 +0000 (00:12 +0800)
Attribute changed Builder4/Editor.bjs

Builder4/Editor.bjs

index 68e5afa..3fb59b7 100644 (file)
@@ -9,7 +9,7 @@
             "listeners": {
                 "delete_event": "function (self, event) {\n    if (!this.get('/Editor.RightEditor').save()) {\n        // no hiding with errors.\n        return true;\n    }\n    this.el.hide();\n    this.get('/Editor').activePath = false;\n    return true;\n}\n/*--\n\n(event) => {\n    if (!Editor.RightEditor.save()) {\n        // no hiding with errors.\n        return true;\n    }\n    _this.hide();\n    _this.activePath = '';\n    return true;\n}\n\n*/",
                 "configure_event": "function (self, object) {\n    this.pos = this.el.get_position();\n\n    return false;\n}\n/*--\n (object) => {\n    _this.pos = true;\n    this.get_position(out _this.pos_root_x, out _this.pos_root_y);\n\n\n    return false;\n}\n*/\n",
-                "show": "function (self) {\n    if (this.pos) {\n        this.el.set_uposition(this.pos.root_x,this.pos.root_y);\n    }\n}\n/*--\n () => {\n    if (this.pos) {\n        this.set_uposition(this.pos_root_x,this.pos_root_y);\n    }\n}\n\n*/"
+                "show": "function (self) {\n    if (this.pos) {\n        this.el.set_uposition(this.pos.root_x,this.pos.root_y);\n    }\n}\n/*--\n () => {\n    if (this.pos) {\n        _this.set_uposition(this.pos_root_x,this.pos_root_y);\n    }\n}\n\n*/"
             },
             ".active_path": "string:\"\"",
             ".dirty": "bool:false",