diff --git a/desktop_version/src/editor.cpp b/desktop_version/src/editor.cpp index 409c0714..e85d2b8e 100644 --- a/desktop_version/src/editor.cpp +++ b/desktop_version/src/editor.cpp @@ -3373,14 +3373,6 @@ void editorrender(void) //FillRect(graphics.backBuffer, 0,231,71,240, graphics.RGB(0,0,0)); if(ed.level[ed.levx+(ed.maxwidth*ed.levy)].roomname!="") { - if(ed.tiley<28) - { - if(ed.roomnamehide>0) ed.roomnamehide--; - } - else - { - if(ed.roomnamehide<12) ed.roomnamehide++; - } if (graphics.translucentroomname) { graphics.footerrect.y = 230+ed.roomnamehide; @@ -3614,6 +3606,24 @@ void editorrenderfixed(void) ed.dmtileeditor--; } } + + if (ed.level[ed.levx + ed.maxwidth*ed.levy].roomname != "") + { + if (ed.tiley < 28) + { + if (ed.roomnamehide > 0) + { + ed.roomnamehide--; + } + } + else + { + if (ed.roomnamehide < 12) + { + ed.roomnamehide++; + } + } + } } void editorlogic(void)