mirror of
https://github.com/jtgans/g13gui.git
synced 2025-06-20 08:23:50 -04:00
Fix an off-by-one in the display of list items
This commit is contained in:
parent
6e16b70e0d
commit
6feee44d16
@ -145,7 +145,7 @@ class ListItem(Widget):
|
|||||||
self._fontHeight = bottom - top
|
self._fontHeight = bottom - top
|
||||||
|
|
||||||
self.position = (0, ypos)
|
self.position = (0, ypos)
|
||||||
self.bounds = (DISPLAY_WIDTH, self._fontHeight + 3)
|
self.bounds = (DISPLAY_WIDTH - 1, self._fontHeight + 3)
|
||||||
|
|
||||||
self._setup()
|
self._setup()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user