Index: sky/framework/components/drawer.dart |
diff --git a/sky/framework/components/drawer.dart b/sky/framework/components/drawer.dart |
index 2336a8de527a016116d56a349de5ab90515e97d6..77a36a98c8bd0b3b48bbee26009cd2076dda28c0 100644 |
--- a/sky/framework/components/drawer.dart |
+++ b/sky/framework/components/drawer.dart |
@@ -34,7 +34,8 @@ class DrawerAnimation extends Animation { |
void handlePointerDown(_) => stop(); |
void handlePointerMove(sky.PointerEvent event) { |
- assert(!isAnimating); |
+ if (isAnimating) |
+ return; |
value = math.min(0.0, math.max(value + event.dx, -_kWidth)); |
} |