Fix IDE0090

This commit is contained in:
RoosterDragon
2023-04-05 19:34:12 +01:00
committed by Pavel Penev
parent 164abfdae1
commit 8a285f9b19
385 changed files with 790 additions and 794 deletions

View File

@@ -52,14 +52,14 @@ namespace OpenRA.Mods.Common.Widgets.Logic
[TranslationReference]
const string ResetCancel = "dialog-settings-reset.cancel";
readonly Dictionary<string, Func<bool>> leavePanelActions = new Dictionary<string, Func<bool>>();
readonly Dictionary<string, Action> resetPanelActions = new Dictionary<string, Action>();
readonly Dictionary<string, Func<bool>> leavePanelActions = new();
readonly Dictionary<string, Action> resetPanelActions = new();
readonly Widget panelContainer, tabContainer;
readonly ButtonWidget tabTemplate;
readonly int2 buttonStride;
readonly List<ButtonWidget> buttons = new List<ButtonWidget>();
readonly Dictionary<string, string> panels = new Dictionary<string, string>();
readonly List<ButtonWidget> buttons = new();
readonly Dictionary<string, string> panels = new();
string activePanel;
bool needsRestart = false;