Skip to content

Commit

Permalink
add: edit tile now working
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromelesaux committed Nov 10, 2024
1 parent 6df82fb commit 8adabcb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ui/martine-ui/tilemap_tab.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,8 @@ func (m *MartineUI) SetTileImage(newTile image.Image, p color.Palette) {
// get all the positions of the new Tile

// display in tiles display widget
m.tilemap.SetNewTilesImages(m.tilemap.Result.TilesImage())
m.tilemap.Result.Tiles = m.tilemap.Result.TilesImage()
m.tilemap.SetNewTilesImages(m.tilemap.Result.Tiles)

m.window.Content().Refresh()
}
Expand Down

0 comments on commit 8adabcb

Please sign in to comment.