1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-15 16:03:01 +08:00

s/internalPeriod/_period

This commit is contained in:
smoogipooo 2017-03-03 14:09:48 +09:00
parent e6d911e49b
commit d96345e408

View File

@ -70,23 +70,23 @@ namespace osu.Game.Screens.Tournament.Components
/// <summary> /// <summary>
/// The period offset this line was constructed with, in radians. /// The period offset this line was constructed with, in radians.
/// </summary> /// </summary>
private float initialPeriodOffset; private readonly float initialPeriodOffset;
/// <summary> /// <summary>
/// The rolling period offset (by transformation), in radians. /// The rolling period offset (by transformation), in radians.
/// </summary> /// </summary>
private float internalPeriodOffset; private float _periodOffset;
/// <summary> /// <summary>
/// The final period offset, in radians. /// The final period offset, in radians.
/// </summary> /// </summary>
private float periodOffset private float periodOffset
{ {
get { return initialPeriodOffset + internalPeriodOffset; } get { return initialPeriodOffset + _periodOffset; }
set set
{ {
if (internalPeriodOffset == value) if (_periodOffset == value)
return; return;
internalPeriodOffset = value; _periodOffset = value;
Invalidate(Invalidation.DrawNode, shallPropagate: false); Invalidate(Invalidation.DrawNode, shallPropagate: false);
} }
} }