mirror of
https://github.com/RGBCube/serenity
synced 2025-05-20 18:15:07 +00:00
ImageViewer: Hide the border frame in fullscreen mode
This commit is contained in:
parent
4a8d47edf8
commit
f2d3fcb7cd
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
Add a link
Reference in a new issue