Add EnsureVisible call

This commit is contained in:
tznind
2022-10-30 09:40:45 +00:00
parent 79f82d1c4c
commit a6240807c9

View File

@@ -608,6 +608,7 @@ namespace Terminal.Gui {
if (newIndex != -1) {
SelectedObject = map.ElementAt (newIndex).Model;
EnsureVisible (selectedObject);
SetNeedsDisplay ();
}