Merge branch 'main' into login

This commit is contained in:
2026-06-01 16:52:17 +09:00
3 changed files with 158 additions and 8 deletions

View File

@@ -152,14 +152,14 @@ export class MapEditor {
this.render();
};
(window as any).clearAll = () => {
document.getElementById('btn-clear-all')?.addEventListener('click', () => {
if(confirm('모든 박스를 삭제할까요?')) {
this.boxes = [];
this.render();
}
};
});
(window as any).saveToServer = () => this.saveToServer();
document.getElementById('btn-save-server')?.addEventListener('click', () => this.saveToServer());
}
private async saveToServer() {