Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIX] For list index out of range when clicking blank space with mouse in a MenuPopup #176

Closed
Fr0st3h opened this issue Mar 16, 2022 · 1 comment

Comments

@Fr0st3h
Copy link

Fr0st3h commented Mar 16, 2022

Change (In popups.py)
if viewport_top <= y and viewport_top + len(self._view_items) - self._top_view >= y:

To

if viewport_top <= y and viewport_top + (len(self._view_items) - 1) - self._top_view >= y:

@jwlodek
Copy link
Owner

jwlodek commented Sep 28, 2022

Thanks! Fix included in v0.1.6

@jwlodek jwlodek closed this as completed Sep 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants