Skip to content

Commit b6a63b3

Browse files
committed
changePosition event
1 parent 5309948 commit b6a63b3

File tree

1 file changed

+6
-0
lines changed
  • services/static-webserver/client/source/class/osparc/data/model

1 file changed

+6
-0
lines changed

services/static-webserver/client/source/class/osparc/data/model/Node.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,7 @@ qx.Class.define("osparc.data.model.Node", {
198198
"reloadModel": "qx.event.type.Event",
199199
"retrieveInputs": "qx.event.type.Data",
200200
"keyChanged": "qx.event.type.Event",
201+
"changePosition": "qx.event.type.Data",
201202
"fileRequested": "qx.event.type.Data",
202203
"parameterRequested": "qx.event.type.Data",
203204
"filePickerRequested": "qx.event.type.Data",
@@ -1250,6 +1251,11 @@ qx.Class.define("osparc.data.model.Node", {
12501251
},
12511252
"osparc-resource": "ui",
12521253
});
1254+
1255+
this.fireDataEvent("changePosition", {
1256+
x: this.__posX,
1257+
y: this.__posY
1258+
});
12531259
},
12541260

12551261
getPosition: function() {

0 commit comments

Comments
 (0)