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.
This commit is contained in:
1
nsxiv.h
1
nsxiv.h
@ -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);
|
||||
|
Reference in New Issue
Block a user