From 1cdbeb972a64e1fb12db5dc05fbaa1428e72bb12 Mon Sep 17 00:00:00 2001 From: Bert Münnich Date: Thu, 27 Oct 2011 16:21:01 +0200 Subject: Added screen-wise scrolling for thumbnail mode --- commands.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'commands.c') diff --git a/commands.c b/commands.c index b869175..a8b9e77 100644 --- a/commands.c +++ b/commands.c @@ -188,7 +188,7 @@ bool i_toggle_animation(arg_t a) { return true; } -bool it_move(arg_t a) { +bool it_scroll_move(arg_t a) { direction_t dir = (direction_t) a; if (mode == MODE_IMAGE) @@ -197,16 +197,16 @@ bool it_move(arg_t a) { return tns_move_selection(&tns, dir); } -bool i_pan_screen(arg_t a) { +bool it_scroll_screen(arg_t a) { direction_t dir = (direction_t) a; if (mode == MODE_IMAGE) return img_pan(&img, dir, -1); else - return false; + return tns_scroll(&tns, dir, true); } -bool i_pan_edge(arg_t a) { +bool i_scroll_to_edge(arg_t a) { direction_t dir = (direction_t) a; if (mode == MODE_IMAGE) -- cgit v1.2.3