From 7c565a6362a19465173f6df85463d5a7acc58218 Mon Sep 17 00:00:00 2001 From: Allison Ryan Date: Mon, 18 Apr 2022 09:55:40 -0500 Subject: [PATCH] refactor: update spaceship rail priority --- .../pinball_components/lib/src/components/render_priority.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/pinball_components/lib/src/components/render_priority.dart b/packages/pinball_components/lib/src/components/render_priority.dart index 9de5be9d..01fa2e72 100644 --- a/packages/pinball_components/lib/src/components/render_priority.dart +++ b/packages/pinball_components/lib/src/components/render_priority.dart @@ -23,7 +23,7 @@ abstract class RenderPriority { static const int ballOnSpaceship = _above + spaceshipSaucer; /// Render priority for the [Ball] while it's on the [SpaceshipRail]. - static const int ballOnSpaceshipRail = spaceshipRail; + static const int ballOnSpaceshipRail = _above + spaceshipRail; /// Render priority for the [Ball] while it's on the [LaunchRamp]. static const int ballOnLaunchRamp = _above + launchRamp;