--- a/xpdf/PDFCore.cc +++ b/xpdf/PDFCore.cc @@ -295,10 +295,10 @@ } else { scrollYA = scrollY; } - if (zoomA != zoom) { +/* if (zoomA != zoom) { scrollXA = 0; scrollYA = continuousMode ? -1 : 0; - } + }*/ dragging = gFalse; lastDragLeft = lastDragTop = gTrue;
This will disable scroll-to-top, but zooming in will not display an area from the center of the previously visible area, but something closer to or even beyond the top left corner of the previously visible area... -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1277131 Title: when zooming the document is always scrolled back to the beginning To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xpdf/+bug/1277131/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs