Skip to content

Commit bbdeea0

Browse files
committed
Fix - SlicerPreview - Emit future values when dragging the selection
1 parent 12d15b6 commit bbdeea0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/atoms/SlicerPreview.vue

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -708,6 +708,7 @@ let activeEndHandler = null;
708708
709709
const startDragging = (event) => {
710710
isRanging.value = true;
711+
711712
showTooltip.value = true;
712713
if (!props.enableSelectionDrag) return;
713714
@@ -771,6 +772,8 @@ function updateDragging(currentX) {
771772
const newEnd = newStart + currentRange.value;
772773
start.value = newStart;
773774
end.value = newEnd;
775+
emitFutureStart(newStart);
776+
emitFutureEnd(newEnd);
774777
}
775778
776779
function stopDragging() {

0 commit comments

Comments
 (0)