diff --git a/OpenRA.Mods.Common/Widgets/ViewportControllerWidget.cs b/OpenRA.Mods.Common/Widgets/ViewportControllerWidget.cs index ef7a4f468b..bd370daff2 100644 --- a/OpenRA.Mods.Common/Widgets/ViewportControllerWidget.cs +++ b/OpenRA.Mods.Common/Widgets/ViewportControllerWidget.cs @@ -87,14 +87,15 @@ namespace OpenRA.Mods.Common.Widgets }; readonly Lazy tooltipContainer; + readonly World world; + readonly WorldRenderer worldRenderer; + int2? joystickScrollStart, joystickScrollEnd; int2? standardScrollStart; bool isStandardScrolling; ScrollDirection keyboardDirections; ScrollDirection edgeDirections; - readonly World world; - readonly WorldRenderer worldRenderer; HotkeyReference[] saveBookmarkHotkeys; HotkeyReference[] restoreBookmarkHotkeys;