Skip to content

Commit ef4678b

Browse files
committed
Fixed bug where trying to play the slider wouldn't work while the states were locked
1 parent 5fd8fad commit ef4678b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package/linkFiber.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ module.exports = (snap, mode) => {
2424

2525
function newSetState(state, callback = () => { }) {
2626
// dont do anything if state is locked
27-
if (mode.locked) return;
27+
// UNLESS we are currently jumping through time
28+
if (mode.locked && !mode.jumping) return;
2829
// continue normal setState functionality, except add sending message middleware
2930
oldSetState(state, () => {
3031
updateSnapShotTree();

0 commit comments

Comments
 (0)