Skip to content

Commit afff42d

Browse files
fix: use opacity in acrylic background
1 parent 25bfb3d commit afff42d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/ui/extra_widgets.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ void acrylic_background_widget::render(nanovg_context ctx) {
3636
widget::render(ctx);
3737
cv.notify_all();
3838

39+
bg_color.a = *opacity / 255.f;
3940
ctx.fillColor(bg_color);
4041
ctx.fillRoundedRect(*x, *y, *width, *height, use_dwm ? 8.f : **radius);
4142

0 commit comments

Comments
 (0)