From ec545a6b6c3339edfd0536a2af4cb7e91888285f Mon Sep 17 00:00:00 2001 From: jcalve Date: Sun, 23 Jul 2017 02:15:47 +0200 Subject: Make pan fraction configurable --- config.def.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'config.def.h') diff --git a/config.def.h b/config.def.h index bfa1338..e211c0d 100644 --- a/config.def.h +++ b/config.def.h @@ -40,6 +40,9 @@ enum { SLIDESHOW_DELAY = 5 }; static const double GAMMA_MAX = 10.0; static const int GAMMA_RANGE = 32; +/* command i_scroll pans image 1/PAN_FRACTION of screen width/height */ +static const int PAN_FRACTION = 5; + /* if false, pixelate images at zoom level != 100%, * toggled with 'a' key binding */ -- cgit v1.2.3-54-g00ecf