Account for offset being applied to editor clock time in TestSceneEditorClock

This commit is contained in:
Dean Herbert
2022-08-29 16:42:50 +09:00
parent 90ff0864c0
commit 2dafa041a7
3 changed files with 5 additions and 3 deletions

View File

@ -124,7 +124,7 @@ namespace osu.Game.Beatmaps
finalClockSource.ProcessFrame();
}
private double totalAppliedOffset
public double TotalAppliedOffset
{
get
{
@ -169,7 +169,7 @@ namespace osu.Game.Beatmaps
public bool Seek(double position)
{
bool success = decoupledClock.Seek(position - totalAppliedOffset);
bool success = decoupledClock.Seek(position - TotalAppliedOffset);
finalClockSource.ProcessFrame();
return success;