added overflow for tasks and overflow shadow to all overflows. also

minimum drag distance is now 10px
This commit is contained in:
2025-06-16 19:51:31 +02:00
parent c4daa88ea2
commit 7588661a59
9 changed files with 124 additions and 59 deletions

View File

@@ -62,6 +62,13 @@ function mouseup(_: MouseEvent) {
const timeFrom = Math.min(endY.value, startY.value) / column.value.offsetHeight
const timeTo = Math.max(endY.value, startY.value) / column.value.offsetHeight
if (timeTo * column.value.offsetHeight - timeFrom * column.value.offsetHeight <= 10) {
startY.value = 0
endY.value = 0
return
}
emit('quick-create', props.day, {
from: timeFrom,
to: timeTo