view: Reset the image left-top corner to the window left-top corner after a Scale to Window.
This commit is contained in:
parent
4c40a0c2d5
commit
d35f1d66d6
|
@ -96,6 +96,7 @@ LRESULT CALLBACK WndProc(HWND hwnd,
|
|||
GetClientRect(hwnd, &r);
|
||||
width = r.right - r.left;
|
||||
height = r.bottom - r.top;
|
||||
deltax = deltay = 0;
|
||||
InvalidateRect( hwnd, NULL, TRUE );
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue