Remove orphaned emitter.emit calls with no matching listener
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -636,10 +636,6 @@ function selectStart(e) {
|
|||||||
isEndSelected.value = false;
|
isEndSelected.value = false;
|
||||||
task.value = e;
|
task.value = e;
|
||||||
taskEnd.value = null;
|
taskEnd.value = null;
|
||||||
emitter.emit("sratrAndEndToStart", {
|
|
||||||
start: true,
|
|
||||||
end: false,
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
@@ -653,10 +649,6 @@ function selectEnd(e) {
|
|||||||
isStartSelected.value = false;
|
isStartSelected.value = false;
|
||||||
task.value = e;
|
task.value = e;
|
||||||
taskStart.value = null;
|
taskStart.value = null;
|
||||||
emitter.emit("sratrAndEndToStart", {
|
|
||||||
start: false,
|
|
||||||
end: true,
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user