forge
Explore
Log in

Don't you dare go Hollow

The equalizer's buttons wrap instead of leaving the column

Browse files at this commit

fb84e61bade298752cd75ba6e76644c9be1b488fAhmet Kaan GümüşParent: e7de125
  • fix
    • the equalizer's buttons wrap instead of leaving the column
Show full message
🐛 fix(ui): the equalizer's buttons wrap instead of leaving the column

The row of numbers above them already wraps for this reason: four buttons
side by side are wider than the inspector column at the 640x360 floor, and
the last of them -- the spectrum switch -- was off the right-hand edge of
the window entirely, reachable by its key and by nothing else.
crates/app/src/ui/cards.rsmodified+7 -0
@@ -833,6 +833,13 @@ impl Player {
833 div()833 div()
834 .mt(px(4.))834 .mt(px(4.))
835 .flex()835 .flex()
836+ // The row of numbers above wraps for this
837+ // reason and so does this one: four buttons
838+ // are wider than the column at the floor,
839+ // and the one that ran off the edge --
840+ // the spectrum switch -- was then reachable
841+ // by its key alone.
842+ .flex_wrap()
836 .gap(px(4.))843 .gap(px(4.))
837 .child(844 .child(
838 div()845 div()