Bewelge / MIDIano

:musical_note: A JavaScript MIDI-Player/ Piano-learning webapp
https://midiano.com
118 stars 22 forks source link

minimize button is buggy #15

Closed Neonunux closed 1 year ago

Neonunux commented 1 year ago

it's not possible to expand menu button after a minimize.

there is a typo in js/ui/UI.js, l. 25 and l. 234 in refreshMenuHeight()

this.isMobile = window.matchMedia(
    "only screen and (max-width: 1600px)"
).matches

1600px should be 600 to define a mobile display

Bewelge commented 1 year ago

Merged a fix yesterday. Culprit was actually in the maximizeMenu function