mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 10:42:55 +08:00
s/internalPeriod/_period
This commit is contained in:
parent
e6d911e49b
commit
d96345e408
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user