wrong image position when zooming
|Reported by:||Owned by:||sikosis|
Tested with hrev17171.
I used an image that is smaller than the ShowImage window. When zooming, the top-left corner of the image stays at the same place and the image is extended to the right and bottom. I would have expected the image to be re-centered.
The same happens when you resize the window of a zoomed image (the top-left corner moves with the window-resize action as if the image were not zoomed).
Probably, the actual image size (instead of the zoomed image size) is used in the positioning calculations.