From 6cfe247b362106543bbb1a835dde9e7da9128fee Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Sat, 19 Mar 2022 10:09:14 -0400 Subject: fixed jitter while moving and zooming --- src/game.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/game.cpp') diff --git a/src/game.cpp b/src/game.cpp index 31c682c..f048400 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -613,8 +613,6 @@ void Game::setZoom(size_t zoom) return; } - /*zoomProgress = 0; - zoomLength = std::abs(static_cast(zoom - curZoom)) * TILE_WIDTH;*/ zoomProgress.start(62 * std::abs(static_cast(zoom) - curZoom) * TILE_WIDTH); oldZoom = curZoom; curZoom = zoom; -- cgit 1.4.1