mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2026-01-01 16:59:35 +01:00
WIP: More refining
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
using System.Diagnostics;
|
||||
|
||||
namespace Terminal.Gui;
|
||||
|
||||
public partial class View // SuperView/SubView hierarchy management (SuperView, SubViews, Add, Remove, etc.)
|
||||
@@ -55,6 +57,7 @@ public partial class View // SuperView/SubView hierarchy management (SuperView,
|
||||
_tabIndexes = new ();
|
||||
}
|
||||
|
||||
Debug.Assert (!_subviews.Contains (view));
|
||||
_subviews.Add (view);
|
||||
_tabIndexes.Add (view);
|
||||
view._superView = this;
|
||||
|
||||
Reference in New Issue
Block a user