[evince/702-no-useful-zoom-level-for-larger-documents-possible-no-zoom-farther-than-20] set MIN_SCALE back to previous low value
- From: Nelson Benítez León <nbenitez src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evince/702-no-useful-zoom-level-for-larger-documents-possible-no-zoom-farther-than-20] set MIN_SCALE back to previous low value
- Date: Mon, 4 Feb 2019 03:04:06 +0000 (UTC)
commit 43cc87decf0e9159da2c1cda02662e32ba7d32c6
Author: Nelson Benítez León <nbenitezl gmail com>
Date: Sun Feb 3 22:57:26 2019 -0400
set MIN_SCALE back to previous low value
Commit 27a4b3e5 changed minimum scale value
from 5.4% to 20%, that's a sane value for
normal sized documents (A4, letter,etc) but
for large documents like comics is a too high
value (preventing further zoom out).
So, set it back to its previous value.
Issue #702
libview/ev-view.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/libview/ev-view.c b/libview/ev-view.c
index 61394882..8b46fcb3 100644
--- a/libview/ev-view.c
+++ b/libview/ev-view.c
@@ -102,7 +102,7 @@ typedef struct {
EvRectangle doc_rect;
} EvViewChild;
-#define MIN_SCALE 0.2
+#define MIN_SCALE 0.05409 /* large documents (comics) need a small value, see #702 */
#define ZOOM_IN_FACTOR 1.2
#define ZOOM_OUT_FACTOR (1.0/ZOOM_IN_FACTOR)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]