Skip to content

Commit

Permalink
Disable buggy ruler functionality.
Browse files Browse the repository at this point in the history
  • Loading branch information
JonathanGiles committed Sep 25, 2014
1 parent 89b14b7 commit a97c78e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/org/scenicview/view/ScenicViewGui.java
Expand Up @@ -606,11 +606,11 @@ private void buildMenuBar() {
final Menu displayOptionsMenu = new Menu("Display Options");

// final Menu ruler = new Menu("Ruler");
final CheckMenuItem showRuler = buildCheckMenuItem("Show Ruler", "Show ruler in the scene for alignment purposes", "", null, null);
showRuler.selectedProperty().addListener((ChangeListener<Boolean>) (o, oldValue, newValue) -> {
configuration.setShowRuler(newValue.booleanValue());
configurationUpdated();
});
// final CheckMenuItem showRuler = buildCheckMenuItem("Show Ruler", "Show ruler in the scene for alignment purposes", "", null, null);
// showRuler.selectedProperty().addListener((ChangeListener<Boolean>) (o, oldValue, newValue) -> {
// configuration.setShowRuler(newValue.booleanValue());
// configurationUpdated();
// });
//
// final RulerConfigurationMenuItem rulerConfig = new RulerConfigurationMenuItem();
// rulerConfig.colorProperty().addListener(new ChangeListener<Color>() {
Expand All @@ -636,7 +636,7 @@ private void buildMenuBar() {

displayOptionsMenu.getItems().addAll(showBoundsCheckbox,
showBaselineCheckbox,
showRuler,
// showRuler,
showSearchBar,
showFilteredNodesInTree,
showInvisibleNodes,
Expand Down

0 comments on commit a97c78e

Please sign in to comment.