Remove orphaned emitter.emit calls with no matching listener

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-09 20:54:10 +08:00
parent f04da6e278
commit d0da9e875e

View File

@@ -636,10 +636,6 @@ function selectStart(e) {
isEndSelected.value = false;
task.value = e;
taskEnd.value = null;
emitter.emit("sratrAndEndToStart", {
start: true,
end: false,
});
}
}
/**
@@ -653,10 +649,6 @@ function selectEnd(e) {
isStartSelected.value = false;
task.value = e;
taskStart.value = null;
emitter.emit("sratrAndEndToStart", {
start: false,
end: true,
});
}
}
/**