We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Point
Vector
TileInspector
1 parent 1496155 commit 66ca6c0Copy full SHA for 66ca6c0
appOPHD/UI/TileInspector.cpp
@@ -63,7 +63,7 @@ void TileInspector::update()
63
64
position = mRect.position + NAS2D::Vector{5, 62};
65
const auto tilePosition = mTile->xy();
66
- drawLabelAndValue(position, "Location: ", std::to_string(tilePosition.x) + ", " + std::to_string(tilePosition.y));
+ drawLabelAndValue(position, "Location: ", std::string{tilePosition});
67
68
position.y += 10;
69
drawLabelAndValue(position, "Terrain: ", terrainTypeStringTable.at(mTile->index()));
0 commit comments