mirror of
https://github.com/flame-engine/flame.git
synced 2025-11-02 20:13:50 +08:00
Fix linting
This commit is contained in:
@ -38,7 +38,7 @@ class SpriteSheet {
|
||||
int x,
|
||||
int y,
|
||||
) {
|
||||
Vector2 size = Vector2(textureWidth.toDouble(), textureHeight.toDouble());
|
||||
final size = Vector2(textureWidth.toDouble(), textureHeight.toDouble());
|
||||
return Sprite(
|
||||
imageName,
|
||||
position: Vector2(x.toDouble(), y.toDouble())..multiply(size),
|
||||
|
||||
Reference in New Issue
Block a user