| Summary: | Middle-click zoom stops working after dragging off-screen | ||
|---|---|---|---|
| Product: | [Unmaintained] kpdf | Reporter: | Daniel Herring <dherring> |
| Component: | general | Assignee: | Albert Astals Cid <aacid> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Slackware | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Daniel Herring
2005-08-22 02:49:40 UTC
Same here... And it's extremely easy to reproduce. SVN commit 580022 by aacid:
Fix middle-click zoom not working after dragging to the top of the screen
BUG: 111255
M +1 -1 pageview.cpp
--- branches/KDE/3.5/kdegraphics/kpdf/ui/pageview.cpp #580021:580022
@@ -758,7 +758,7 @@
return;
// if holding mouse mid button, perform zoom
- if ( (e->state() & MidButton) && d->mouseMidStartY > 0 )
+ if ( (e->state() & MidButton) && d->mouseMidStartY >= 0 )
{
int deltaY = d->mouseMidStartY - e->globalPos().y();
d->mouseMidStartY = e->globalPos().y();
|