circuitpython / web-editor

Online web editor for CircuitPython
https://code.circuitpython.org
MIT License
30 stars 15 forks source link

Fix duplicate headings when fractional window sizes used #193

Closed makermelissa closed 4 months ago

makermelissa commented 4 months ago

Fixes #192. It was using a max and min value to determine when items were hidden only expecting integer values. Apparently chrome on windows allows float values for window sizes. So using both as max should solve the problem. Since I can't reproduce the issue on MacOS, I just tested locally that it still functions as expected.