mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 14:46:38 +09:00
Account for offset being applied to editor clock time in TestSceneEditorClock
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user