Skip to content

Commit

Permalink
WIP: move arrow and bumper decorations into classes
Browse files Browse the repository at this point in the history
  • Loading branch information
geowar1 committed Oct 7, 2019
1 parent 10c7a39 commit 04b4cb9
Show file tree
Hide file tree
Showing 2 changed files with 1,811 additions and 1,521 deletions.
4 changes: 2 additions & 2 deletions java/src/jmri/jmrit/display/layoutEditor/TrackSegment.java
Original file line number Diff line number Diff line change
Expand Up @@ -1222,12 +1222,12 @@ public void actionPerformed(ActionEvent e) {
addNumericMenuItem(bridgeMenu,
"DecorationLineWidthMenuItemTitle", "DecorationLineWidthMenuItemToolTip",
this::getBridgeLineWidth, this::setBridgeLineWidth,
QuickPromptUtil.checkIntRange(1, MAX_BRIDGE_LINE_WIDTH, null));
QuickPromptUtil.checkIntRange(10, MAX_BRIDGE_LINE_WIDTH, null));

addNumericMenuItem(bridgeMenu,
"BridgeApproachWidthMenuItemTitle", "BridgeApproachWidthMenuItemToolTip",
this::getBridgeApproachWidth, this::setBridgeApproachWidth,
QuickPromptUtil.checkIntRange(1, MAX_BRIDGE_APPROACH_WIDTH, null));
QuickPromptUtil.checkIntRange(4, MAX_BRIDGE_APPROACH_WIDTH, null));

addNumericMenuItem(bridgeMenu,
"BridgeDeckWidthMenuItemTitle", "BridgeDeckWidthMenuItemToolTip",
Expand Down
Loading

0 comments on commit 04b4cb9

Please sign in to comment.