Skip to content

Commit

Permalink
Tweak top panel button placement
Browse files Browse the repository at this point in the history
Will probably need further tweaks as things move around.
  • Loading branch information
JoseDiazRohena committed Jan 21, 2024
1 parent 48a9315 commit 720e676
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/gui/panels/ValentineTopRowPanel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,7 @@ void TopRowPanel::resized()
juce::roundToInt ((sliders.getHeight() - buttonWidth) * .5f);

// See below note about horizontal LabelSlider dimensions and button placement.
const auto buttonNudge = juce::roundToInt (buttonWidth / 1.5f);

const auto buttonNudge = juce::roundToInt (buttonWidth / 5.0f);
const auto initialCrushButtonX = sliders.getX();
const auto crushEnableButtonBounds = sliders.removeFromLeft (buttonWidth)
.reduced (0, buttonSpacer)
Expand Down

0 comments on commit 720e676

Please sign in to comment.