Merge branch 'master' into fix-editor-clocks

This commit is contained in:
Dean Herbert 2018-03-19 19:06:38 +09:00 committed by GitHub
commit 4b812279bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -51,7 +51,11 @@ public void RemoveOverlay(DrawableHitObject hitObject)
private SelectionBox currentSelectionBox;
public void AddSelectionOverlay() => AddInternal(currentSelectionBox = composer.CreateSelectionOverlay(overlayContainer));
public void AddSelectionOverlay()
{
if (overlayContainer.Count > 0)
AddInternal(currentSelectionBox = composer.CreateSelectionOverlay(overlayContainer));
}
public void RemoveSelectionOverlay()
{