aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/Sprite.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/crepe/api/Sprite.h')
-rw-r--r--src/crepe/api/Sprite.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crepe/api/Sprite.h b/src/crepe/api/Sprite.h
index 5a7a1d9..7d9c14b 100644
--- a/src/crepe/api/Sprite.h
+++ b/src/crepe/api/Sprite.h
@@ -71,7 +71,7 @@ public:
* cannot be const because if Animator component is addded then ratio becomes scuffed and
* does it need to be calculated again in the Animator
*/
- double aspect_ratio;
+ float aspect_ratio;
private:
//! Reads the mask of sprite