From 063b606a123b11eff13bacdf8fb8fb2b450df8e1 Mon Sep 17 00:00:00 2001 From: WebFreak001 Date: Wed, 3 May 2017 18:48:17 +0200 Subject: [PATCH] Fix readonly warning --- osu.Game/Graphics/Cursor/CursorTrail.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osu.Game/Graphics/Cursor/CursorTrail.cs b/osu.Game/Graphics/Cursor/CursorTrail.cs index 362a235bca..1c640b64d0 100644 --- a/osu.Game/Graphics/Cursor/CursorTrail.cs +++ b/osu.Game/Graphics/Cursor/CursorTrail.cs @@ -39,7 +39,7 @@ internal class CursorTrail : Drawable private Vector2? lastPosition; - private InputResampler resampler = new InputResampler(); + private readonly InputResampler resampler = new InputResampler(); protected override DrawNode CreateDrawNode() => new TrailDrawNode();