From ccc4459c6287d137904bdf072b7040d3f60dd8dc Mon Sep 17 00:00:00 2001 From: SpaiR Date: Fri, 1 Apr 2022 09:36:32 +0300 Subject: [PATCH] Tweak view of coords in the tile menu --- src/app/ui/cpwsarea/wsmap/pmap/tilemenu/process.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/app/ui/cpwsarea/wsmap/pmap/tilemenu/process.go b/src/app/ui/cpwsarea/wsmap/pmap/tilemenu/process.go index f4f00cd2..cb618d6f 100644 --- a/src/app/ui/cpwsarea/wsmap/pmap/tilemenu/process.go +++ b/src/app/ui/cpwsarea/wsmap/pmap/tilemenu/process.go @@ -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" ) @@ -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).