ShowImage: Correct frame size in fullscreen.

Signed-off-by: Augustin Cavalier <[email protected]>
Fixes #7590. Thanks!
This commit is contained in:
Janus
2015-03-01 22:03:44 -05:00
committed by Augustin Cavalier
parent 51427685e9
commit 704a3fe2a7
-1
View File
@@ -1273,7 +1273,6 @@ ShowImageWindow::_ToggleFullScreen()
frame.top -= fBar->Bounds().Height() + 1;
frame.right += B_V_SCROLL_BAR_WIDTH;
frame.bottom += B_H_SCROLL_BAR_HEIGHT;
frame.InsetBy(-1, -1); // PEN_SIZE in ShowImageView
SetFlags(Flags() | B_NOT_RESIZABLE | B_NOT_MOVABLE);