- Adding a preference to control whether the Escape key can be used in desktop Forge as an alternative "end turn" shortcut (for players who prefer the old behavior). It is disabled by default.

This commit is contained in:
Agetian
2017-01-06 19:52:42 +00:00
parent 8554b22ac0
commit 9a75816ef2
4 changed files with 12 additions and 2 deletions

View File

@@ -82,6 +82,7 @@ public class ForgePreferences extends PreferencesStore<ForgePreferences.FPref> {
UI_TOKENS_IN_SEPARATE_ROW("false"), // Display tokens in their own battlefield row.
UI_DISPLAY_CURRENT_COLORS("Never"),
UI_FILTER_LANDS_BY_COLOR_IDENTITY("true"),
UI_ALLOW_ESC_TO_END_TURN ("false"),
UI_FOR_TOUCHSCREN("false"),
@@ -168,7 +169,7 @@ public class ForgePreferences extends PreferencesStore<ForgePreferences.FPref> {
SHORTCUT_SHOWTARGETING ("84"),
SHORTCUT_AUTOYIELD_ALWAYS_YES ("89"),
SHORTCUT_AUTOYIELD_ALWAYS_NO ("78");
private final String strDefaultVal;
private FPref(final String s0) {