The tilemap panel gains Fill and Pick: Fill floods the connected cells of the active layer that carry the same tile (edge neighbours only, bounded by the grid) as one undo step, Pick takes the tile of the clicked cell on the active layer, and holding Alt picks while any tool is active (#133)
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
c2fd536aaf
commit
0b32d3cbf3
9 files changed
+350
-20
No files matched your search
+4
-3
@@ -141,10 +141,11 @@ function pickIds(input: readonly string[], primary?: string): { ids: string[]; p
|
||||
|
||||
/**
|
||||
* Select leaves the scene view as it is – the map is picked up and moved like any other object.
|
||||
* The other three paint: brush the chosen tile cell by cell, erase clears, rect fills the box
|
||||
* a drag spans. Painting is a mode on purpose; a map one cannot move would be worse than a click.
|
||||
* The others paint: brush the chosen tile cell by cell, erase clears, rect fills the box a drag
|
||||
* spans, fill the connected cells of one tile (#133). Pick paints nothing – it takes the tile of the
|
||||
* cell clicked. Painting is a mode on purpose; a map one cannot move would be worse than a click.
|
||||
*/
|
||||
export type TilemapTool = 'select' | 'brush' | 'erase' | 'rect';
|
||||
export type TilemapTool = 'select' | 'brush' | 'erase' | 'rect' | 'fill' | 'pick';
|
||||
|
||||
/**
|
||||
* How the scene view shows the layers of the selected tilemap next to the one painted on (#138):
|
||||
|
||||
Reference in new issue
Block a user