Run events on all inputs

This commit is contained in:
JFronny 2020-06-12 16:39:02 +02:00
parent d562ea5295
commit 5d380112ac

View File

@ -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)
{