Skip to content

Commit

Permalink
Don't use clip button width to find nudge amount
Browse files Browse the repository at this point in the history
  • Loading branch information
JoseDiazRohena committed Apr 25, 2024
1 parent 94c1b83 commit b56e13b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/panels/ValentineBottomRowPanel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ void BottomRowPanel::resized()
.withX (dividerCentreX)
.withWidth (dividerThickness);

const auto buttonNudge = juce::roundToInt (clipButtonWidth / 8.0f);
const auto buttonNudge = juce::roundToInt (sliderWidth / 14.0f);

const auto clipButtonInitialX = bounds.getX();
const auto clipButtonX = clipButtonInitialX + buttonNudge;
Expand Down

0 comments on commit b56e13b

Please sign in to comment.