A bit of refactor to put apply in Animation where it belongs.

This commit is contained in:
Zed A. Shaw 2025-11-01 11:13:12 -04:00
parent 102c8c36d5
commit d60e1af6df
10 changed files with 32 additions and 31 deletions

View file

@ -92,7 +92,7 @@ namespace boss {
rect.size.x, rect.size.y);
sf::View zoom{pos,
{float(cell.w * 2), float(cell.h * 2)}};
{BOSS_VIEW_WIDTH/2, BOSS_VIEW_HEIGHT/2}};
if($zoom_anim.scaled) {
zoom.zoom(scale.x);