Skip to content

Commit

Permalink
Identify the Bug or Feature request
Browse files Browse the repository at this point in the history
Fixes #4349

Description of the Change
Preferences tweak

Possible Drawbacks
none

Documentation Notes
Fix inconsistency in UI reference to grid size

Release Notes
Fix inconsistency in UI reference to grid size
  • Loading branch information
bubblobill committed Nov 4, 2023
1 parent 64f20e0 commit 56a4a77
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions src/main/java/net/rptools/maptool/client/AppPreferences.java
Original file line number Diff line number Diff line change
Expand Up @@ -542,16 +542,6 @@ public static int getHaloLineWidth() {
private static final String KEY_RENDER_QUALITY = "renderScaleQuality";

private static final RenderQuality DEFAULT_RENDER_QUALITY = RenderQuality.LOW_SCALING;
private static final String KEY_HIDE_TOKEN_STACK_INDICATOR = "hideTokenStackIndicator";
private static final boolean DEFAULT_HIDE_TOKEN_STACK_INDICATOR = false;

public static boolean getHideTokenStackIndicator() {
return prefs.getBoolean(KEY_HIDE_TOKEN_STACK_INDICATOR, DEFAULT_HIDE_TOKEN_STACK_INDICATOR);
}

public static void setHideTokenStackIndicator(boolean hideTokenStackIndicator) {
prefs.putBoolean(KEY_HIDE_TOKEN_STACK_INDICATOR, hideTokenStackIndicator);
}

public enum RenderQuality {
LOW_SCALING,
Expand Down Expand Up @@ -1488,4 +1478,4 @@ public static void setTopologyTypes(Zone.TopologyTypeSet types) {
prefs.put(KEY_TOPOLOGY_TYPES, types.toString());
}
}
}
}

0 comments on commit 56a4a77

Please sign in to comment.