diff options
| -rw-r--r-- | src/game/editor/editor.cpp | 3 | ||||
| -rw-r--r-- | src/game/editor/layer_tiles.cpp | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/src/game/editor/editor.cpp b/src/game/editor/editor.cpp index 98c15619..8c186085 100644 --- a/src/game/editor/editor.cpp +++ b/src/game/editor/editor.cpp @@ -1174,7 +1174,10 @@ void CEditor::DoMapEditor(CUIRect View, CUIRect ToolBar) CLayerTiles *pT = static_cast<CLayerTiles *>(GetSelectedLayerType(0, LAYERTYPE_TILES)); if(m_ShowTileInfo && pT && pT->m_Visible && m_ZoomLevel <= 300) + { + GetSelectedGroup()->MapScreen(); pT->ShowInfo(); + } } static void *s_pEditorID = (void *)&s_pEditorID; diff --git a/src/game/editor/layer_tiles.cpp b/src/game/editor/layer_tiles.cpp index a2de7350..b792eda9 100644 --- a/src/game/editor/layer_tiles.cpp +++ b/src/game/editor/layer_tiles.cpp @@ -353,6 +353,8 @@ void CLayerTiles::ShowInfo() } x += m_pTiles[c].m_Skip; } + + Graphics()->MapScreen(ScreenX0, ScreenY0, ScreenX1, ScreenY1); } int CLayerTiles::RenderProperties(CUIRect *pToolBox) |