add minimized debugger

This commit is contained in:
LenAnderson
2024-07-14 16:58:19 -04:00
parent ddce6c4e89
commit 95cc4d3ccb
4 changed files with 122 additions and 23 deletions

View File

@ -879,6 +879,15 @@ export class QuickReply {
stepOutBtn.addEventListener('click', ()=>{
this.debugController?.stepOut();
});
/**@type {HTMLElement}*/
const minimizeBtn = dom.querySelector('#qr--modal-minimize');
minimizeBtn.addEventListener('click', ()=>{
this.editorDom.classList.add('qr--minimized');
});
const maximizeBtn = dom.querySelector('#qr--modal-maximize');
maximizeBtn.addEventListener('click', ()=>{
this.editorDom.classList.remove('qr--minimized');
});
/**@type {boolean}*/
let isResizing = false;
let resizeStart;