1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-20 19:00:15 +08:00

Fix range selection crashing after non-mouse selection

This commit is contained in:
Bartłomiej Dach
2021-09-27 20:54:01 +02:00
Unverified
parent 1a1fc00b44
commit ca6cbca04a
@@ -80,7 +80,7 @@ namespace osu.Game.Screens.Edit.Compose.Components.Timeline
internal override bool MouseDownSelectionRequested(SelectionBlueprint<HitObject> blueprint, MouseButtonEvent e)
{
if (e.ShiftPressed && e.Button == MouseButton.Left && SelectedItems.Any())
if (e.ShiftPressed && e.Button == MouseButton.Left && pivot != null)
{
handleRangeSelection(blueprint, e.ControlPressed);
return true;