mirror of
https://github.com/ppy/osu.git
synced 2025-01-14 19:22:56 +08:00
Revert "Fix timeline objects disappearing prematurely on wide-screens"
This reverts commit 02baf9a97a
.
This commit is contained in:
parent
8471b24659
commit
60fb5d5e6c
@ -304,7 +304,7 @@ namespace osu.Game.Screens.Edit.Compose.Components.Timeline
|
||||
/// <summary>
|
||||
/// The total amount of time visible on the timeline.
|
||||
/// </summary>
|
||||
public double VisibleRange => (DisplayableContent / Content.DrawWidth) * track.Length;
|
||||
public double VisibleRange => track.Length / Zoom;
|
||||
|
||||
public SnapResult FindSnappedPositionAndTime(Vector2 screenSpacePosition, SnapType snapType = SnapType.All) =>
|
||||
new SnapResult(screenSpacePosition, beatSnapProvider.SnapTime(getTimeFromPosition(Content.ToLocalSpace(screenSpacePosition))));
|
||||
|
Loading…
Reference in New Issue
Block a user