ShowImage: Correct frame size in fullscreen.
Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com> Fixes #7590. Thanks!
This commit is contained in:
parent
51427685e9
commit
704a3fe2a7
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user