Skip to content

Commit

Permalink
Merge pull request ddnet#7163 from Robyt3/Editor-Vector-X
Browse files Browse the repository at this point in the history
Render editor brush selection size with `⨯` instead of `,`
  • Loading branch information
Jupeyy authored Sep 10, 2023
2 parents 36867df + e19a96d commit 62c0d34
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 62c0d34

Please sign in to comment.