Merge branch 'master' into fix-editor-scroll-interruption

This commit is contained in:
Dan Balasescu
2021-01-21 17:46:18 +09:00
committed by GitHub
105 changed files with 1349 additions and 515 deletions

View File

@ -138,6 +138,15 @@ namespace osu.Game.Screens.Edit.Compose.Components.Timeline
scrollToTrackTime();
}
protected override bool OnScroll(ScrollEvent e)
{
// if this is not a precision scroll event, let the editor handle the seek itself (for snapping support)
if (!e.AltPressed && !e.IsPrecise)
return false;
return base.OnScroll(e);
}
protected override void UpdateAfterChildren()
{
base.UpdateAfterChildren();