Reset position and expanded state of cards on activation.
This commit is contained in:
1 parent
544a4c745d
commit
89c0807cba
1 file changed
+3
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user