Add template type to editor coordinate label.
This commit is contained in:
@@ -91,8 +91,8 @@ namespace OpenRA.Mods.Common.Widgets.Logic
|
||||
{
|
||||
var cell = worldRenderer.Viewport.ViewToWorld(Viewport.LastMousePos);
|
||||
var map = worldRenderer.World.Map;
|
||||
var height = map.Height.Contains(cell) ? map.Height[cell] : 0;
|
||||
return "{0},{1}".F(cell, height);
|
||||
return map.Height.Contains(cell) ?
|
||||
"{0},{1} ({2})".F(cell, map.Height[cell], map.Tiles[cell].Type) : "";
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -464,7 +464,7 @@ Container@EDITOR_WORLD_ROOT:
|
||||
Font: Bold
|
||||
Contrast: true
|
||||
Label@CASH_LABEL:
|
||||
X: 95
|
||||
X: 125
|
||||
Width: 50
|
||||
Height: 25
|
||||
Align: Left
|
||||
|
||||
@@ -439,7 +439,7 @@ Container@EDITOR_WORLD_ROOT:
|
||||
Font: Bold
|
||||
Contrast: true
|
||||
Label@CASH_LABEL:
|
||||
X: 570
|
||||
X: 600
|
||||
Width: 50
|
||||
Height: 25
|
||||
Align: Left
|
||||
|
||||
Reference in New Issue
Block a user