Run events on all inputs
This commit is contained in:
parent
d562ea5295
commit
5d380112ac
@ -123,15 +123,11 @@ namespace CC_Functions.Commandline.TUI
|
||||
case ConsoleKey.Escape:
|
||||
Close?.Invoke(this, new EventArgs());
|
||||
break;
|
||||
default:
|
||||
if (selectable.Any() && selectable.Length >= TabPoint && selectable[TabPoint].Enabled)
|
||||
{
|
||||
InvokeInput(this, input);
|
||||
selectable[TabPoint].InvokeInput(this, input);
|
||||
render = true;
|
||||
}
|
||||
break;
|
||||
}
|
||||
if (selectable.Any() && selectable.Length >= TabPoint && selectable[TabPoint].Enabled)
|
||||
selectable[TabPoint].InvokeInput(this, input);
|
||||
InvokeInput(this, input);
|
||||
render = true;
|
||||
}
|
||||
if (_wndWidth != Console.WindowWidth || _wndHeight != Console.WindowHeight)
|
||||
{
|
||||
|
Reference in New Issue
Block a user