py_cui icon indicating copy to clipboard operation
py_cui copied to clipboard

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

Open Fr0st3h opened this issue 2 years ago • 0 comments

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:

Fr0st3h avatar Mar 16 '22 01:03 Fr0st3h