Add xmldoc and rename methods in IPositionSnapProvider for legibility

This commit is contained in:
Dean Herbert
2022-05-05 15:58:21 +09:00
parent 93deb3cf20
commit f6fc926f1a
13 changed files with 32 additions and 28 deletions

View File

@ -214,7 +214,7 @@ namespace osu.Game.Screens.Edit.Compose.Components
private void updatePlacementPosition()
{
var snapResult = Composer.SnapScreenSpacePositionToValidTime(inputManager.CurrentState.Mouse.Position);
var snapResult = Composer.FindSnappedPositionAndTime(inputManager.CurrentState.Mouse.Position);
// if no time was found from positional snapping, we should still quantize to the beat.
snapResult.Time ??= Beatmap.SnapTime(EditorClock.CurrentTime, null);