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) },
};
Lazy<TooltipContainerWidget> tooltipContainer;
readonly Lazy<TooltipContainerWidget> tooltipContainer;
int2? joystickScrollStart, joystickScrollEnd;
int2? standardScrollStart;
bool isStandardScrolling;
ScrollDirection keyboardDirections;
ScrollDirection edgeDirections;
World world;
WorldRenderer worldRenderer;
readonly World world;
readonly WorldRenderer worldRenderer;
HotkeyReference[] saveBookmarkHotkeys;
HotkeyReference[] restoreBookmarkHotkeys;