Browse Source

Disable translucent MenuOverlay background.

tags/v2.0.0
Andrew Belt 4 years ago
parent
commit
8f13625ebc
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      src/ui/MenuOverlay.cpp

+ 4
- 4
src/ui/MenuOverlay.cpp View File

@@ -7,10 +7,10 @@ namespace ui {

void MenuOverlay::draw(const DrawArgs& args) {
// Translucent background
nvgBeginPath(args.vg);
nvgRect(args.vg, 0, 0, VEC_ARGS(box.size));
nvgFillColor(args.vg, nvgRGBAf(0, 0, 0, 0.33));
nvgFill(args.vg);
// nvgBeginPath(args.vg);
// nvgRect(args.vg, 0, 0, VEC_ARGS(box.size));
// nvgFillColor(args.vg, nvgRGBAf(0, 0, 0, 0.33));
// nvgFill(args.vg);

OpaqueWidget::draw(args);
}


Loading…
Cancel
Save