Skip to content

Commit

Permalink
Display knob aliases on panel (use legible color)
Browse files Browse the repository at this point in the history
  • Loading branch information
danngreen committed Sep 9, 2024
1 parent 684f5bd commit 0919cb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hub/hub_map_button.cc
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ void HubMapButton::draw(const DrawArgs &args) {
text = hub->mappings.getMapAliasName(hubParamObj);
nvgBeginPath(args.vg);
nvgTextAlign(args.vg, NVGalign::NVG_ALIGN_CENTER | NVGalign::NVG_ALIGN_MIDDLE);
nvgFillColor(args.vg, nvgRGBA(0, 0, 0, 255));
nvgFillColor(args.vg, nvgRGB(0xbb, 0xbb, 0xbb));
nvgFontSize(args.vg, 9.0f);
nvgText(args.vg, box.size.x / 2.0f, box.size.y + 10, text.c_str(), NULL);
}
Expand Down

0 comments on commit 0919cb0

Please sign in to comment.