Closed jonahfang closed 10 months ago
Thanks for reporting the issue! I was able to get the error to appear on my system (simply by forcing the popup to become too small). It revealed some off-by-one errors I had in my code. I am not sure if this is exactly what happened with your bug but I'll assume it is. I'm working on patching this up.
With the release of v1.2.0, I've redone the arithmetic for constructing window dimensions. i think this should have fixed your issue, but please let me know if you find otherwise. Closing this issue for now. Feel free to open it again.
When I run 'require("detour").Detour()' I get the following error: