Davidobot / love.js

LÖVE ported to the web using Emscripten, updated to the latest Emscripten and LÖVE (v11.5)
MIT License
605 stars 27 forks source link

Fix footer capturing mouse events #82

Closed luker128 closed 4 months ago

luker128 commented 10 months ago

If the browser window is too small, some mouse events will not be registered by the game. This is because footer element takes up more horizontal space that it needs. Changing footer width from "100%" to "auto" will make it occupy only the required amount of space, and not capture mouse events intended for the bottom of game canvas.