Skip to content

Commit

Permalink
Removed Opacity Menu Item
Browse files Browse the repository at this point in the history
  • Loading branch information
goxr3plus committed Jun 17, 2018
1 parent 21fe9d7 commit 9c8d063
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion resources/fxml/visualizer/VisualizerWindowController.fxml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
<MenuItem fx:id="setDefaultForeground" mnemonicParsing="false" text="default" />
</items>
</Menu>
<Menu mnemonicParsing="false" text="Opacity">
<Menu disable="true" mnemonicParsing="false" text="Opacity" visible="false">
<items>
<MenuItem mnemonicParsing="false">
<graphic>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ private void initialize() {
});

// transparencySlider
transparencySlider.disableProperty().bind(window.showingProperty().not());
//transparencySlider.disableProperty().bind(window.showingProperty().not());
transparencySlider.valueProperty().addListener(list -> scene.setFill(Color.rgb(0, 0, 0, transparencySlider.getValue())));

// PauseTransition
Expand Down

0 comments on commit 9c8d063

Please sign in to comment.