Skip to content

Commit

Permalink
Added CSS style classes to UndoRedoBox and undo / redo buttons.
Browse files Browse the repository at this point in the history
  • Loading branch information
dlemmermann committed Apr 26, 2021
1 parent 4644cd0 commit d145ad0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public UndoRedoBox(History history) {
undoBtn.setOnAction(event -> history.undo());
undoBtn.disableProperty().bind(history.undoAvailableProperty().not());

redoBtn.getStyleClass().add("undo-button");
redoBtn.getStyleClass().add("redo-button");
redoBtn.setGraphic(new FontIcon(Material.REDO));
redoBtn.setOnAction(event -> history.redo());
redoBtn.disableProperty().bind(history.redoAvailableProperty().not());
Expand Down

0 comments on commit d145ad0

Please sign in to comment.