Compare commits

...

1 Commits

Author SHA1 Message Date
Shelley Vohr
0bb0c1f8bf fix: initial frame on frameless windows 2021-09-02 14:47:12 +02:00

View File

@@ -222,6 +222,7 @@ NativeWindowViews::NativeWindowViews(const gin_helper::Dictionary& options,
params.delegate = this;
params.type = views::Widget::InitParams::TYPE_WINDOW;
params.remove_standard_frame = !has_frame();
params.can_resize = resizable_;
if (transparent())
params.opacity = views::Widget::InitParams::WindowOpacity::kTranslucent;