jiayouxjh / grafx2

Automatically exported from code.google.com/p/grafx2
0 stars 0 forks source link

Exiting zoom mode in a large image jumps the viewport to a "random" position #380

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
(by DawnBringer)
It's really annoying when exit zoom jumps to an unexpected position (there may 
be more than one problem/bug regarding this).
If you scroll an image in normal mode, zoom, and exit zoom the screen
will offset to some place before the scroll. This can drive you mad!

(Note by yr: I can confirm I've seen it, and didn't understand the pattern)

Original issue reported on code.google.com by yrizoud on 2 Sep 2010 at 10:57

GoogleCodeExporter commented 9 years ago
Fixed in r1620. This was present since the 96.5% version, I checked the 
sources. Now when you exit zoom mode, Grafx2 tries to move the center of the 
zoomed area to the center of the displayed area. Maybe unzoom-on-mouse would be 
better ?

Original comment by yrizoud on 17 Sep 2010 at 2:32

GoogleCodeExporter commented 9 years ago

Original comment by yrizoud on 17 Sep 2010 at 2:33