Mark suggested fields as readonly.

This commit is contained in:
Matthias Mailänder
2020-04-05 12:43:40 +02:00
committed by teinarss
parent 6a825f8e60
commit 521b516bf9

View File

@@ -86,15 +86,15 @@ namespace OpenRA.Mods.Common.Widgets
{ ScrollDirection.Right, new float2(1, 0) }, { ScrollDirection.Right, new float2(1, 0) },
}; };
Lazy<TooltipContainerWidget> tooltipContainer; readonly Lazy<TooltipContainerWidget> tooltipContainer;
int2? joystickScrollStart, joystickScrollEnd; int2? joystickScrollStart, joystickScrollEnd;
int2? standardScrollStart; int2? standardScrollStart;
bool isStandardScrolling; bool isStandardScrolling;
ScrollDirection keyboardDirections; ScrollDirection keyboardDirections;
ScrollDirection edgeDirections; ScrollDirection edgeDirections;
World world; readonly World world;
WorldRenderer worldRenderer; readonly WorldRenderer worldRenderer;
HotkeyReference[] saveBookmarkHotkeys; HotkeyReference[] saveBookmarkHotkeys;
HotkeyReference[] restoreBookmarkHotkeys; HotkeyReference[] restoreBookmarkHotkeys;