ソースを参照

ImageViewer: Hide the border frame in fullscreen mode

Karol Kosek 4 年 前
コミット
f2d3fcb7cd
1 ファイル変更1 行追加0 行削除
  1. 1 0
      Userland/Applications/ImageViewer/main.cpp

+ 1 - 0
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