From 89c0807cba072b52a7335044f45fcfc8d5098e40 Mon Sep 17 00:00:00 2001 From: Evelyn Eastmond <evhan55@gmail.com> Date: Mon, 6 May 2019 17:04:37 -0400 Subject: [PATCH] Reset position and expanded state of cards on activation. --- src/reducers/cards.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/reducers/cards.js b/src/reducers/cards.js index c54161f4c..373130442 100644 --- a/src/reducers/cards.js +++ b/src/reducers/cards.js @@ -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: -- GitLab