ShowImage: Correct frame size in fullscreen.

Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
Fixes #7590. Thanks!
This commit is contained in:
Janus 2014-01-04 17:18:34 +00:00 committed by Augustin Cavalier
parent 51427685e9
commit 704a3fe2a7

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);