message: refactor(zoompane): cleanup
diff: @@ -201,19 +201,14 @@ const ZoomPane = ({
  const flowTransform = eventToFlowTransform(event.transform);
  prevTransform.current = flowTransform;
  - const handleOnMoveEnd = () => {
  + clearTimeout(timerId.current);
  + timerId.current = setTimeout(
  + () => {
  onViewportChangeEnd?.(flowTransform);
  onMoveEnd?.(event.sourceEvent as MouseEvent | TouchEvent, flowTransform);
  - };
  - console.log(panOnScroll);
  - if (panOnScroll) {
  - clearTimeout(timerId.current);
  - timerId.current = setTimeout(() => {
  - handleOnMoveEnd();
  - }, 150);
  - } else {
  - handleOnMoveEnd();
  - }
  + },
  + panOnScroll ? 150 : 0
  + );
  }
  });
  }
  