Reset position and expanded state of cards on activation.

This commit is contained in:
Evelyn Eastmond committed 2019-05-07 11:42:40 -04:00
1 parent 544a4c745d
commit 89c0807cba
1 file changed
+3
+3
View File
@@ -42,6 +42,9 @@ const reducer = function (state, action) {
return Object.assign({}, state, {
activeDeckId: action.activeDeckId,
step: 0,
x: 0,
y: 0,
expanded: true,
visible: true
});
case NEXT_STEP: