Skip to content

Commit

Permalink
Merge pull request #1 from jagedn/jagedn-patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
jagedn authored Feb 18, 2018
2 parents e4d5f41 + d58e3ec commit 2e60db9
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/main/groovy/groovyx/javafx/canvas/DrawOperations.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,13 @@ import javafx.scene.canvas.GraphicsContext
*/
@FXBindable
class DrawOperations implements CanvasOperation {
List<CanvasOperation> operations = [];
private List<CanvasOperation> operations = [];
Canvas canvas


public void setOperations(List ops){
this.operations = FXCollections.observableArrayList(ops)
}

public void add(CanvasOperation opertion) {
operations << operation;
}
Expand Down

0 comments on commit 2e60db9

Please sign in to comment.