ImageViewer: Hide the border frame in fullscreen mode

This commit is contained in:
Karol Kosek 2021-07-27 17:50:59 +02:00 committed by Andreas Kling
parent 4a8d47edf8
commit f2d3fcb7cd
Notes: sideshowbarker 2024-07-19 17:22:37 +09:00

View file

@ -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