I used self.focused to determine if the item is selected while rendering the List widget, which results in the viewport corner changing since it thinks it never saw the selected item. self.focused should only be used in the call to ListItem::show to indicate whether both the item and window are currently focused.
I used
self.focused
to determine if the item is selected while rendering theList
widget, which results in the viewport corner changing since it thinks it never saw the selected item.self.focused
should only be used in the call toListItem::show
to indicate whether both the item and window are currently focused.