Skip to content

Commit 0f45d2d

Browse files
fix: breeze_ui::window::create_ex now create while window if in light mode
1 parent 1e97cdc commit 0f45d2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/shell/script/binding_types_breeze_ui.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -529,7 +529,7 @@ std::shared_ptr<breeze_ui::window>
529529
breeze_ui::window::create_ex(std::string title, int width, int height,
530530
std::function<void()> on_close) {
531531
auto rt = std::make_shared<ui::render_target>();
532-
rt->acrylic = 0.1;
532+
rt->acrylic = is_light_mode() ? 1 : 0.1;
533533
rt->transparent = true;
534534
rt->width = width;
535535
rt->height = height;

0 commit comments

Comments
 (0)