From 80131e7ec043ac1c581b39b93e626766e8f7910c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?= Date: Mon, 6 Apr 2020 17:09:58 +0200 Subject: [PATCH] Group readonly fields. --- OpenRA.Mods.Common/Widgets/ViewportControllerWidget.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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;