default to legacy directional key behavior
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
@@ -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");
|
||||
|
Reference in New Issue
Block a user