mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2026-01-02 01:03:29 +01:00
Add EnsureVisible call
This commit is contained in:
@@ -608,6 +608,7 @@ namespace Terminal.Gui {
|
||||
|
||||
if (newIndex != -1) {
|
||||
SelectedObject = map.ElementAt (newIndex).Model;
|
||||
EnsureVisible (selectedObject);
|
||||
SetNeedsDisplay ();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user