Skip to content

Commit d282e4b

Browse files
committed
Fix bug where overlay collections could in rare cases not be placed due to overly aggressive "was overlay collection just placed here" check
1 parent be68623 commit d282e4b

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/TSMapEditor/UI/CursorActions/OverlayCollectionPlacementAction.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ public OverlayCollectionPlacementAction(ICursorActionTarget cursorActionTarget)
1616

1717
public override string GetName() => Translate("Name", "Place Overlay Collection");
1818

19+
protected override bool ClearPreviousCellOnMouseUp => true;
20+
1921
private OverlayCollection _overlayCollection;
2022
public OverlayCollection OverlayCollection
2123
{

0 commit comments

Comments
 (0)