@complat/react-spectra-editor 1.0.0-rc12 → 1.0.0-rc13.alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -188,7 +188,14 @@ const editPeakReducer = function () {
|
|
|
188
188
|
case _action_type.EDITPEAK.SHIFT:
|
|
189
189
|
return processShift(state, action);
|
|
190
190
|
case _action_type.MANAGER.RESETALL:
|
|
191
|
-
return
|
|
191
|
+
return {
|
|
192
|
+
selectedIdx: 0,
|
|
193
|
+
peaks: [{
|
|
194
|
+
prevOffset: 0,
|
|
195
|
+
pos: [],
|
|
196
|
+
neg: []
|
|
197
|
+
}]
|
|
198
|
+
};
|
|
192
199
|
default:
|
|
193
200
|
return _undo_redo_config.undoRedoActions.indexOf(action.type) >= 0 ? Object.assign({}, state) : state;
|
|
194
201
|
}
|
package/package.json
CHANGED