From f2d3fcb7cd6e97c15f2911bf16ee777173f1ea54 Mon Sep 17 00:00:00 2001 From: Karol Kosek Date: Tue, 27 Jul 2021 17:50:59 +0200 Subject: [PATCH] ImageViewer: Hide the border frame in fullscreen mode --- Userland/Applications/ImageViewer/main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Userland/Applications/ImageViewer/main.cpp b/Userland/Applications/ImageViewer/main.cpp index 39af0245a72..2caff080f94 100644 --- a/Userland/Applications/ImageViewer/main.cpp +++ b/Userland/Applications/ImageViewer/main.cpp @@ -110,6 +110,7 @@ int main(int argc, char** argv) widget.on_doubleclick = [&] { window->set_fullscreen(!window->is_fullscreen()); toolbar_container.set_visible(!window->is_fullscreen()); + widget.set_frame_thickness(window->is_fullscreen() ? 0 : 2); }; // Actions