mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
debugger
This commit is contained in:
@ -564,6 +564,11 @@ export class QuickReply {
|
||||
stepIntoBtn.addEventListener('click', ()=>{
|
||||
this.debugController?.stepInto();
|
||||
});
|
||||
/**@type {HTMLElement}*/
|
||||
const stepOutBtn = dom.querySelector('#qr--modal-stepOut');
|
||||
stepOutBtn.addEventListener('click', ()=>{
|
||||
this.debugController?.stepOut();
|
||||
});
|
||||
|
||||
await popupResult;
|
||||
|
||||
@ -653,7 +658,7 @@ export class QuickReply {
|
||||
title.textContent = isCurrent ? 'Current Scope' : 'Parent Scope';
|
||||
let hi;
|
||||
title.addEventListener('pointerenter', ()=>{
|
||||
const loc = this.getEditorPosition(c.executorList[0].start, c.executorList.slice(-1)[0].end);
|
||||
const loc = this.getEditorPosition(c.executorList[0].start - 1, c.executorList.slice(-1)[0].end);
|
||||
const layer = this.editorPopup.dlg.getBoundingClientRect();
|
||||
hi = document.createElement('div');
|
||||
hi.style.position = 'fixed';
|
||||
|
Reference in New Issue
Block a user