Skip to content

Commit

Permalink
Render editor brush selection size with instead of ,
Browse files Browse the repository at this point in the history
For example, `20⨯10` instead of `20,10`.

This is the "vector" symbol, which makes the most sense in this context.
  • Loading branch information
Robyt3 committed Sep 10, 2023
1 parent e8f17aa commit e19a96d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game/editor/mapitems/layer_tiles.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ void CLayerTiles::BrushSelecting(CUIRect Rect)
m_pEditor->Graphics()->QuadsDrawTL(&QuadItem, 1);
m_pEditor->Graphics()->QuadsEnd();
char aBuf[16];
str_format(aBuf, sizeof(aBuf), "%d,%d", ConvertX(Rect.w), ConvertY(Rect.h));
str_format(aBuf, sizeof(aBuf), "%d%d", ConvertX(Rect.w), ConvertY(Rect.h));
TextRender()->Text(Rect.x + 3.0f, Rect.y + 3.0f, m_pEditor->m_ShowPicker ? 15.0f : m_pEditor->MapView()->ScaleLength(15.0f), aBuf, -1.0f);
}

Expand Down

0 comments on commit e19a96d

Please sign in to comment.