Selection tool improvements by bjorn · Pull Request #4276 · mapeditor/tiled (original) (raw)

added 2 commits

October 22, 2025 17:50

@bjorn

Now, when pressing the left mouse button using the Select Same Tile tool, the user can drag over multiple tiles and the tool will select all occurrences of all touched tiles. In some cases this will be more convenient than holding Shift and clicking each type of tile individually.

Also added Escape and Right-click for cancelling the selection operation, in line with the behavior of the Rectangle Select tool.

@bjorn

Since the Alt modifier is used to select objects beneath other objects and users might fast-click objects while trying to select a lower object, we need to avoid this getting handled as a double-click.

@bjorn

When dragging over multiple tiles the Magic Wand will select connected occurrences of all touched tiles.

Also added Escape and Right-click for cancelling the selection operation, unifying the implementation with the Select Same Tile tool.

Removed TilePainter::setCell and TilePainer::isDrawable, because they were unused and should be avoided anyway for performance reasons.

@bjorn

When dragging over multiple tiles, the Bucket Fill Tool fills over the connected occurrences of all touched tiles.

Also added Escape and Right-click for cancelling the fill operation.

@bjorn bjorn deleted the selection-tool-improvements branch

October 25, 2025 19:24

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters

[ Show hidden characters]({{ revealButtonHref }})