ImageViewer: Hide the border frame in fullscreen mode
This commit is contained in:
parent
4a8d47edf8
commit
f2d3fcb7cd
Notes:
sideshowbarker
2024-07-19 17:22:37 +09:00
Author: https://github.com/krkk Commit: https://github.com/SerenityOS/serenity/commit/f2d3fcb7cd6 Pull-request: https://github.com/SerenityOS/serenity/pull/9040
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue