Files
photocraft/crates
a2a6f1e13f Integration: Zoom Resizes Windows shows the whole image, clear of the scrollbars (#7662)
A Zoom tool click or wheel zoom keeps the clicked spot under the pointer, so
the view centre moves off the image's middle. The window then grew to the
image's size around that off-centre view: a 400x300 image zoomed to 200% about
(50, 50) showed grey on the left and top and lost its right and bottom edges.
The size also left out the 12 pt scrollbars, which are drawn over the canvas
and hid the image's right and bottom edges.

The window now makes room for the scrollbars, and a window that grows around
the whole image centres it in the area the scrollbars leave free (any flip,
rotation, pixel aspect and display scale). A window the screen caps keeps the
zoomed spot where it is. Scrubby zoom and the Animated Zoom hold re-anchor the
view only when the zoom changes, so their release frame and the frames at the
zoom limit keep that centred view. A maximized or full-screen window keeps the
size the user gave it.

Co-authored-by: Nguyễn Minh Long <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-22 15:42:54 +00:00
..
2026-10-22 15:39:51 +00:00
2026-10-22 15:39:51 +00:00
2026-10-22 15:39:51 +00:00
2026-10-22 15:38:33 +00:00
…
…
2026-10-22 15:39:51 +00:00
…
2026-10-22 15:39:51 +00:00
2026-10-22 15:39:51 +00:00
2026-10-22 15:38:33 +00:00