summaryrefslogtreecommitdiffstats
path: root/config.def.h
diff options
context:
space:
mode:
authorjcalve <jcalve@git.invalid>2017-07-23 02:15:47 +0200
committerBert Münnich <ber.t@posteo.de>2017-09-06 19:39:22 +0200
commitec545a6b6c3339edfd0536a2af4cb7e91888285f (patch)
tree323ff86210a41fe7e9f5c7b715e992d73c34f629 /config.def.h
parent30e9ec89709f32f8ab4b245c4e6e514c81df2ed6 (diff)
downloadnsxiv-ec545a6b6c3339edfd0536a2af4cb7e91888285f.tar.zst
Make pan fraction configurable
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h3
1 files changed, 3 insertions, 0 deletions
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
*/