default to legacy directional key behavior

This commit is contained in:
2025-01-20 12:50:49 -06:00
parent 2681a2801f
commit ead987fff7
2 changed files with 2 additions and 2 deletions

View File

@@ -1299,7 +1299,7 @@ void screen_shift(int dx, int dy, bool& need_redraw) {
// If configured to move the screen with arrow keys, do it and return true
bool handle_screen_shift(location delta, bool& need_redraw) {
if(scrollableModes.count(overall_mode) && get_bool_pref("DirectionalKeyScrolling", true)){
if(scrollableModes.count(overall_mode) && get_bool_pref("DirectionalKeyScrolling", false)){
screen_shift(delta.x, delta.y, need_redraw);
return true;
}

View File

@@ -1306,7 +1306,7 @@ void pick_preferences(bool record) {
}
cLedGroup& keyshiftOptions = dynamic_cast<cLedGroup&>(prefsDlog["keyshift-options"]);
if(get_bool_pref("DirectionalKeyScrolling", true)){
if(get_bool_pref("DirectionalKeyScrolling", false)){
keyshiftOptions.setSelected("screen-shift");
}else{
keyshiftOptions.setSelected("target-adjacent");