Skip to content

Commit

Permalink
fix rounded rect path local bounds
Browse files Browse the repository at this point in the history
  • Loading branch information
vsicurella committed Jun 5, 2024
1 parent 8333fcf commit 3d3e87b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Source/LumatoneEditorStyleCommon.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ static Path getConnectedRoundedRectPath(Rectangle<float> bounds, float roundedCo
// TODO: finish implementing 3 and 12
if (connectedFlags == 0 || connectedFlags == 3 || connectedFlags == 12)
{
rect.addRoundedRectangle(bounds, roundedCornerSize);
rect.addRoundedRectangle(0, 0, bounds.getWidth(), bounds.getHeight(), roundedCornerSize);
return rect;
}

Expand Down Expand Up @@ -610,6 +610,7 @@ enum LumatoneEditorColourIDs
ControlAreaHeader,
ControlAreaBackground,
ControlBoxHighlighted,
ColourPaletteBackground,
ActiveText,
InactiveText,
DescriptionText,
Expand Down

0 comments on commit 3d3e87b

Please sign in to comment.