fix syntax loop debugger misalignment
This commit is contained in:
parent
1d4c44fcf6
commit
18e3659914
|
@ -927,6 +927,11 @@ export class QuickReply {
|
|||
if (!messageSyntaxInner || !message) return requestAnimationFrame(updateSyntaxLoop);
|
||||
// elements no longer part of the document
|
||||
if (!messageSyntaxInner.closest('body')) return;
|
||||
// debugger is running
|
||||
if (this.isExecuting) {
|
||||
lastMessageValue = null;
|
||||
return requestAnimationFrame(updateSyntaxLoop);
|
||||
}
|
||||
// value hasn't changed
|
||||
if (wasSyntax == syntax.checked && lastMessageValue == message.value) return requestAnimationFrame(updateSyntaxLoop);
|
||||
wasSyntax = syntax.checked;
|
||||
|
|
Loading…
Reference in New Issue