mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 15:16:38 +09:00
Expose distance spacing in IPositionSnapProvider
for updating distance grid
Alternate method is to expose a `SnapDistancesChanged` event in `IPositionSnapProvider` instead, but I chose this way as an analogue to `IBeatSnapProvider.BeatDivisor`, which might even make sense to be exposed as `BindableBeatDivisor` instead of caching that separately.
This commit is contained in:
@ -317,6 +317,8 @@ namespace osu.Game.Screens.Edit.Compose.Components.Timeline
|
||||
private double getTimeFromPosition(Vector2 localPosition) =>
|
||||
(localPosition.X / Content.DrawWidth) * track.Length;
|
||||
|
||||
public IBindable<float> DistanceSpacingMultiplier => throw new NotImplementedException();
|
||||
|
||||
public float GetBeatSnapDistanceAt(HitObject referenceObject) => throw new NotImplementedException();
|
||||
|
||||
public float DurationToDistance(HitObject referenceObject, double duration) => throw new NotImplementedException();
|
||||
|
Reference in New Issue
Block a user