diff options
author | Nick Hanley <nicholasjhanley@gmail.com> | 2022-01-15 23:51:31 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-15 23:51:31 +0100 |
commit | 2ac44709bd9a9ec8d3ab60a40a81ac7ca3ad1b57 (patch) | |
tree | 73221bb787569c4089930436ddc644490ccb2c18 /nsxiv.h | |
parent | 7a75c42b37b08f44c72f9a7c98eb6076967470fb (diff) | |
download | nsxiv-2ac44709bd9a9ec8d3ab60a40a81ac7ca3ad1b57.tar.zst |
Add keybind to scroll to image center (#203)
There are keybinds for scrolling to the edges of an image but there's no way back to the center. This is particularly annoying while zooming.
Diffstat (limited to 'nsxiv.h')
-rw-r--r-- | nsxiv.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -229,6 +229,7 @@ bool img_zoom(img_t*, int); bool img_zoom_to(img_t*, float); bool img_pos(img_t*, float, float); bool img_pan(img_t*, direction_t, int); +bool img_pan_center(img_t*); bool img_pan_edge(img_t*, direction_t); void img_rotate(img_t*, degree_t); void img_flip(img_t*, flipdir_t); |