about summary refs log tree commit diff
path: root/src/game/editor/layer_tiles.cpp
diff options
context:
space:
mode:
authoroy <Tom_Adams@web.de>2011-05-05 01:50:23 +0200
committeroy <Tom_Adams@web.de>2011-05-05 01:50:23 +0200
commitca6e129da68dd3d0162ea338420ecf702c649e99 (patch)
treeca72333285d082472c65005e6e76392901d6ad98 /src/game/editor/layer_tiles.cpp
parent5fbf6d0bfd32ab520c6cf67a330c9a2240882750 (diff)
downloadzcatch-ca6e129da68dd3d0162ea338420ecf702c649e99.tar.gz
zcatch-ca6e129da68dd3d0162ea338420ecf702c649e99.zip
fixed size of characters in editor's tileselection screen on zoom. Closes #665
Diffstat (limited to 'src/game/editor/layer_tiles.cpp')
-rw-r--r--src/game/editor/layer_tiles.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/editor/layer_tiles.cpp b/src/game/editor/layer_tiles.cpp
index db020351..a2de7350 100644
--- a/src/game/editor/layer_tiles.cpp
+++ b/src/game/editor/layer_tiles.cpp
@@ -123,7 +123,7 @@ void CLayerTiles::BrushSelecting(CUIRect Rect)
 	m_pEditor->Graphics()->QuadsEnd();
 	char aBuf[16];
 	str_format(aBuf, sizeof(aBuf), "%d,%d", ConvertX(Rect.w), ConvertY(Rect.h));
-	TextRender()->Text(0, Rect.x+3.0f, Rect.y+3.0f, 15.0f*m_pEditor->m_WorldZoom, aBuf, -1);
+	TextRender()->Text(0, Rect.x+3.0f, Rect.y+3.0f, m_pEditor->m_ShowPicker?15.0f:15.0f*m_pEditor->m_WorldZoom, aBuf, -1);
 }
 
 int CLayerTiles::BrushGrab(CLayerGroup *pBrush, CUIRect Rect)