Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
jagedn authored Feb 18, 2018
1 parent e4d5f41 commit d58e3ec
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 d58e3ec

Please sign in to comment.