1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-21 20:07:25 +08:00

Merge pull request #21293 from frenzibyte/fix-timeline-extent-scrolling

Fix timeline potentially scrolling at extents while not dragging
This commit is contained in:
Dan Balasescu 2022-11-18 16:19:30 +09:00 committed by GitHub
commit d8e99d811d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -436,8 +436,11 @@ namespace osu.Game.Screens.Edit.Compose.Components.Timeline
{
base.OnDragEnd(e);
OnDragHandled?.Invoke(null);
dragOperation?.Cancel();
dragOperation = null;
changeHandler?.EndChange();
OnDragHandled?.Invoke(null);
}
}