Skip to content

Commit

Permalink
Fix loading fond in ScaleMerger
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexey Komarov committed Mar 17, 2023
1 parent 77d729e commit 8dd02f8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/ScaleMerger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,10 @@ struct ScaleMergerWidget : ModuleWidget {
return;
}

std::shared_ptr<Font> font = APP->window->loadFont(fontPath);
std::shared_ptr<Font> font = APP->window->loadFont(
asset::plugin(pluginInstance,
"res/fonts/DejaVuSansMono.ttf")
);

if (!font) {
return;
Expand Down

0 comments on commit 8dd02f8

Please sign in to comment.