From f8190439a9947597958fb22dfa8b7244cce24a4a Mon Sep 17 00:00:00 2001 From: Misa Date: Sat, 11 Jul 2020 00:39:09 -0700 Subject: [PATCH] Reset ed.roomnamehide to 0 when exiting playtesting Now if your cursor was at the bottom of the screen when you entered playtesting but then was moved to the top during playtesting, when you exit, the roomname won't instantly disappear and then sheepishly rise back up again. And if your cursor was at the bottom of the screen when you entered playtesting, and exited still being that way, the roomname will rise back down again and won't instantly disappear. Both of these behaviors make the roomname movement much more continuous than it was previously, and it feels smoother and less janky. --- desktop_version/src/Game.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/desktop_version/src/Game.cpp b/desktop_version/src/Game.cpp index 25e0604a..4f0bed50 100644 --- a/desktop_version/src/Game.cpp +++ b/desktop_version/src/Game.cpp @@ -7310,6 +7310,7 @@ void Game::returntoeditor() ed.settingskey = true; ed.oldnotedelay = 0; ed.notedelay = 0; + ed.roomnamehide = 0; graphics.backgrounddrawn=false; music.fadeout();