xNul / drop

A LÖVE visualizer and music player
MIT License
20 stars 2 forks source link

[Mac only] Window background detection breaks on higher refresh rate monitors #19

Closed xNul closed 6 years ago

xNul commented 6 years ago

Window background detection is done by monitoring the refresh rate. It is optimized for 60hz by default, so higher refresh rates cause it to glitch and disable the spectrum. Can be changed manually, but should be added to the settings panel once implemented.

In the next commit a refresh rate variable will be located in love.load for a workaround. Just locate the variable and change the default value to your monitor's refresh rate.

Update: this variable is called monitor_refresh_rate and you can find it at the top of main.lua.

xNul commented 6 years ago

With https://github.com/nabakin/drop/commit/b10a9a53dcb76e56d9b59ff01fba7f866b565a54, the bug has been fixed on all computers that are not Macs.

xNul commented 6 years ago

Since the use case is so rare and recent additions have improved resource usage while minimized, I will close this issue.