diff --git a/examples/lib/stories/system/resize_example.dart b/examples/lib/stories/system/resize_example.dart index 3c12b69a8d7..f60458c6433 100644 --- a/examples/lib/stories/system/resize_example.dart +++ b/examples/lib/stories/system/resize_example.dart @@ -13,7 +13,7 @@ class ResizingRectangle extends RectangleComponent { void onGameResize(Vector2 size) { super.onGameResize(size); - this.size = size * .4; + this.size = size * 0.4; } }