diff --git a/osu.Game/Screens/Tournament/Components/VisualiserLine.cs b/osu.Game/Screens/Tournament/Components/VisualiserLine.cs index 7a6dc5380c..3acc9c918f 100644 --- a/osu.Game/Screens/Tournament/Components/VisualiserLine.cs +++ b/osu.Game/Screens/Tournament/Components/VisualiserLine.cs @@ -70,23 +70,23 @@ namespace osu.Game.Screens.Tournament.Components /// /// The period offset this line was constructed with, in radians. /// - private float initialPeriodOffset; + private readonly float initialPeriodOffset; /// /// The rolling period offset (by transformation), in radians. /// - private float internalPeriodOffset; + private float _periodOffset; /// /// The final period offset, in radians. /// private float periodOffset { - get { return initialPeriodOffset + internalPeriodOffset; } + get { return initialPeriodOffset + _periodOffset; } set { - if (internalPeriodOffset == value) + if (_periodOffset == value) return; - internalPeriodOffset = value; + _periodOffset = value; Invalidate(Invalidation.DrawNode, shallPropagate: false); } }