Skip to content

Commit

Permalink
Tweak view of coords in the tile menu
Browse files Browse the repository at this point in the history
  • Loading branch information
SpaiR committed Apr 1, 2022
1 parent 98b5930 commit ccc4459
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/app/ui/cpwsarea/wsmap/pmap/tilemenu/process.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import (
"sdmm/dmapi/dmmap/dmmdata/dmmprefab"
"sdmm/dmapi/dmmap/dmminstance"
"sdmm/imguiext/icon"
"sdmm/imguiext/style"
w "sdmm/imguiext/widget"
"sdmm/util"
)
Expand All @@ -35,7 +34,7 @@ func (t *TileMenu) Process() {

func (t *TileMenu) showControls() {
w.Layout{
w.TextColored(t.tile.Coord.String(), style.ColorGold),
w.MenuItem(t.tile.Coord.String(), nil).Icon(icon.Help).Enabled(false),
w.Separator(),
w.MenuItem("Undo", t.app.DoUndo).
Icon(icon.Undo).
Expand Down

0 comments on commit ccc4459

Please sign in to comment.