We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0d466ac commit 856e67aCopy full SHA for 856e67a
src/shell/contextmenu/menu_widget.cc
@@ -25,7 +25,7 @@ void mb_shell::menu_item_normal_widget::render(ui::nanovg_context ctx) {
25
auto has_icon = has_icon_padding || icon_img;
26
auto c = menu_render::current.value()->light_color ? 0 : 1;
27
if (item.type == menu_item::type::spacer) {
28
- ctx.fillColor(nvgRGBAf(c, c, c, 0.1));
+ ctx.fillColor(nvgRGBAf(c, c, c, 0.1 * *opacity / 255.f));
29
ctx.fillRect(x->dest(), *y, *width, *height);
30
return;
31
}
0 commit comments