A bit of refactor to put apply in Animation where it belongs.
This commit is contained in:
parent
102c8c36d5
commit
d60e1af6df
10 changed files with 32 additions and 31 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue