mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 02:46:43 +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>
|
||||
/// The period offset this line was constructed with, in radians.
|
||||
/// </summary>
|
||||
private float initialPeriodOffset;
|
||||
private readonly float initialPeriodOffset;
|
||||
/// <summary>
|
||||
/// The rolling period offset (by transformation), in radians.
|
||||
/// </summary>
|
||||
private float internalPeriodOffset;
|
||||
private float _periodOffset;
|
||||
/// <summary>
|
||||
/// The final period offset, in radians.
|
||||
/// </summary>
|
||||
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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user