Commit 334fcbbf authored by Hixie's avatar Hixie

Draggables were disappearing

I forgot to wrap the state changing in a setState. Oops.
parent 57e1d2e2
...@@ -199,7 +199,9 @@ class _DraggableState<T> extends State<DraggableBase<T>> { ...@@ -199,7 +199,9 @@ class _DraggableState<T> extends State<DraggableBase<T>> {
feedback: config.feedback, feedback: config.feedback,
feedbackOffset: config.feedbackOffset, feedbackOffset: config.feedbackOffset,
onDragEnd: () { onDragEnd: () {
_activeCount -= 1; setState(() {
_activeCount -= 1;
});
} }
); );
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment