diff options
author | Bert Münnich <ber.t@gmx.com> | 2011-10-27 16:21:01 +0200 |
---|---|---|
committer | Bert Münnich <ber.t@gmx.com> | 2011-10-27 16:21:01 +0200 |
commit | 1cdbeb972a64e1fb12db5dc05fbaa1428e72bb12 (patch) | |
tree | 9e0d12081ff6f8b9708422f10e0f3e1047ccf6ae /commands.c | |
parent | 3e2523818b2420a86d71ac7c908ddcbb800abd38 (diff) |
Added screen-wise scrolling for thumbnail mode
Diffstat (limited to 'commands.c')
-rw-r--r-- | commands.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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) |