This commit is contained in:
kwaroran
2025-03-13 16:38:41 +09:00
5 changed files with 38 additions and 37 deletions

View File

@@ -44,7 +44,12 @@ function nodeObserve(node:HTMLElement){
if(currentChar.type === 'group'){
return;
}
await runLuaButtonTrigger(currentChar, btnEvent);
const triggerResult = await runLuaButtonTrigger(currentChar, btnEvent);
if(triggerResult){
setCurrentChat(triggerResult.chat);
}
}, {
passive: true,
});