mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 15:33:21 +08:00
Fix range selection crashing after non-mouse selection
This commit is contained in:
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)
|
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);
|
handleRangeSelection(blueprint, e.ControlPressed);
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user