Skip to content

Commit

Permalink
Restore single character names (sigh) (#1275)
Browse files Browse the repository at this point in the history
Closes #1271
  • Loading branch information
baconpaul authored Sep 6, 2024
1 parent efc12d9 commit 9f93cf3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -999,7 +999,7 @@ void ZoneLayoutDisplay::labelZoneRectangle(juce::Graphics &g, const juce::Rectan
ga.removeRangeOfGlyphs(ga.getNumGlyphs() - 1, -1);
bb = ga.getBoundingBox(0, -1, false);
}
if (ga.getNumGlyphs() <= 1)
if (ga.getNumGlyphs() < 1)
return;

auto cx = (rr.getWidth() - bb.getWidth()) / 2 + rr.getX();
Expand Down

0 comments on commit 9f93cf3

Please sign in to comment.