diff options
author | Karol Kosek <krkk@krkk.ct8.pl> | 2021-07-27 17:50:59 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-07-27 18:32:58 +0200 |
commit | f2d3fcb7cd6e97c15f2911bf16ee777173f1ea54 (patch) | |
tree | c560b6c272772fb6b8b8e325ae3c7b2c8473ed47 /Userland/Applications/ImageViewer | |
parent | 4a8d47edf8c5905ab6d5c35353776fe403374876 (diff) | |
download | serenity-f2d3fcb7cd6e97c15f2911bf16ee777173f1ea54.zip |
ImageViewer: Hide the border frame in fullscreen mode
Diffstat (limited to 'Userland/Applications/ImageViewer')
-rw-r--r-- | Userland/Applications/ImageViewer/main.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Applications/ImageViewer/main.cpp b/Userland/Applications/ImageViewer/main.cpp index 39af0245a7..2caff080f9 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 |