mirror of
https://github.com/MidnightCommander/mc
synced 2025-03-12 10:53:23 +03:00
Ticket #2395: scroll down the panel contents by mouse dragging.
Start mc, and make sure that at least one of the two displayed directiories contains so many files that they cannot all be displayed at once. Click in this panel and hold the mouse button pressed, and then move your mouse downwards. As you pass beyond the bottom of this list, it should start scrolling. Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
1672d057e5
commit
1256af2269
@ -3436,9 +3436,6 @@ do_panel_event (Gpm_Event * event, WPanel * panel, gboolean * redir)
|
||||
if (!is_active)
|
||||
change_panel ();
|
||||
|
||||
if (event->y > lines)
|
||||
return MOU_NORMAL;
|
||||
|
||||
if (panel->top_file + event->y > panel->count)
|
||||
my_index = panel->count - 1;
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user