Keyboard actions for adding is working with the new layout...
This commit is contained in:
@@ -55,6 +55,8 @@ mindplot.model.INodeModel = new Class({
|
||||
},
|
||||
|
||||
setPosition : function(x, y) {
|
||||
$assert(!isNaN(parseInt(x)), "x position is not valid:" + x);
|
||||
$assert(!isNaN(parseInt(y)), "x position is not valid:" + y);
|
||||
this.putProperty('position', '{x:' + parseInt(x) + ',y:' + parseInt(y) + '}');
|
||||
},
|
||||
|
||||
|
Reference in New Issue
Block a user