final aida-x tweaks
Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
parent
991a99d0b3
commit
9e797e795b
1 changed files with 4 additions and 6 deletions
|
|
@ -364,6 +364,8 @@ struct AidaPluginModule : Module {
|
||||||
}
|
}
|
||||||
catch (const std::exception& e) {
|
catch (const std::exception& e) {
|
||||||
d_stderr2("Unable to load aida-x file: %s\nError: %s", filename, e.what());
|
d_stderr2("Unable to load aida-x file: %s\nError: %s", filename, e.what());
|
||||||
|
|
||||||
|
if (showError)
|
||||||
async_dialog_message((std::string("Unable to load aida-x file: ") + e.what()).c_str());
|
async_dialog_message((std::string("Unable to load aida-x file: ") + e.what()).c_str());
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
@ -975,10 +977,6 @@ struct AidaWidget : ModuleWidgetWithSideScrews<23> {
|
||||||
nvgRGB(19, 19, 19)));
|
nvgRGB(19, 19, 19)));
|
||||||
nvgFill(args.vg);
|
nvgFill(args.vg);
|
||||||
|
|
||||||
// extra
|
|
||||||
// nvgStrokeColor(args.vg, nvgRGBA(150, 150, 150, 60));
|
|
||||||
// nvgStroke(args.vg);
|
|
||||||
|
|
||||||
// splitter
|
// splitter
|
||||||
nvgBeginPath(args.vg);
|
nvgBeginPath(args.vg);
|
||||||
nvgMoveTo(args.vg, 226, box.size.y - 80);
|
nvgMoveTo(args.vg, 226, box.size.y - 80);
|
||||||
|
|
@ -1028,7 +1026,7 @@ struct AidaWidget : ModuleWidgetWithSideScrews<23> {
|
||||||
nvgFill(args.vg);
|
nvgFill(args.vg);
|
||||||
|
|
||||||
// a bit darker so the text is readable
|
// a bit darker so the text is readable
|
||||||
nvgFillColor(args.vg, nvgRGBAf(0.f,0.f,0.f,0.25f));
|
nvgFillColor(args.vg, nvgRGBAf(0.f,0.f,0.f,0.1f));
|
||||||
nvgFill(args.vg);
|
nvgFill(args.vg);
|
||||||
|
|
||||||
// plugin label
|
// plugin label
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue