Skip to content

Commit 1c0424f

Browse files
authored
Merge pull request #32793 from ia319/bug/32630-instrumenter-debug-state-reset
Core: Fix stepping back through story interactions panel
2 parents 239794e + 1d4ca46 commit 1c0424f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

code/core/src/instrumenter/instrumenter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ export class Instrumenter {
223223
}) => {
224224
const { isDebugging } = this.getState(storyId);
225225
if (newPhase === 'preparing' && isDebugging) {
226-
return resetState({ storyId, renderPhase: newPhase });
226+
return resetState({ storyId, renderPhase: newPhase, isDebugging });
227227
} else if (newPhase === 'playing') {
228228
return resetState({ storyId, renderPhase: newPhase, isDebugging });
229229
}

0 commit comments

Comments
 (0)