Fix an off-by-one in the display of list items

This commit is contained in:
June Tate-Gans 2023-10-29 14:21:42 -05:00
parent 6e16b70e0d
commit 6feee44d16

View File

@ -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()