adding snapToGrid feature, first experimental setup
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
MyWorkflow=function(id){
|
||||
Workflow.call(this,id);
|
||||
this.html.style.backgroundImage="url(/skins/ext/images/gray/shapes/grid_10.png)";
|
||||
this.setGridWidth(4,4);
|
||||
this.setSnapToGrid(true);
|
||||
};
|
||||
MyWorkflow.prototype=new Workflow;
|
||||
MyWorkflow.prototype.type="MyWorkflow";
|
||||
|
||||
Reference in New Issue
Block a user