Push change to the history stack.
export function pushHistory(change) { if (!reactiveState.atStart || changeSize(change) === 0) return; reactiveState.historyStack.push(change); reactiveState.redoStack = [];} Copy
export function pushHistory(change) { if (!reactiveState.atStart || changeSize(change) === 0) return; reactiveState.historyStack.push(change); reactiveState.redoStack = [];}
Push change to the history stack.