From 704a3fe2a70fa8850dafc622b94cf6b7f6239a37 Mon Sep 17 00:00:00 2001 From: Janus Date: Sat, 4 Jan 2014 17:18:34 +0000 Subject: [PATCH] ShowImage: Correct frame size in fullscreen. Signed-off-by: Augustin Cavalier Fixes #7590. Thanks! --- src/apps/showimage/ShowImageWindow.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/apps/showimage/ShowImageWindow.cpp b/src/apps/showimage/ShowImageWindow.cpp index 0015b5f894..ae7a9faa31 100644 --- a/src/apps/showimage/ShowImageWindow.cpp +++ b/src/apps/showimage/ShowImageWindow.cpp @@ -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);