mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-03 10:04:32 +03:00
Make layout dialog left/right arrows more coherent.
Alt+Shift+Left_arrow and Alt+Shift+Right_arrow directly influence the divider position, but the < and > layout dialog buttons have the reverse effect, which is unintuitive behavior. Reverse the direction of < and > influence so that clicking left moves the divider left, and clicking right moves the divider right. Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
a8101d8403
commit
e546698396
@ -260,7 +260,7 @@ b_left_right_cback (WButton * button, int action)
|
||||
{
|
||||
(void) action;
|
||||
|
||||
if (button == bleft_widget)
|
||||
if (button == bright_widget)
|
||||
{
|
||||
if (panels_layout.horizontal_split)
|
||||
panels_layout.top_panel_size++;
|
||||
|
Loading…
Reference in New Issue
Block a user