If we are allowed to redo.
Takes in these arguments instead of checking reactiveState directly so that its reactivity can be determined.
export const mayRedo = (redoStackLength, atStart) => redoStackLength > 0 && atStart; Copy
export const mayRedo = (redoStackLength, atStart) => redoStackLength > 0 && atStart;
If we are allowed to redo.
Takes in these arguments instead of checking reactiveState directly so that its reactivity can be determined.