kfb-view 3.3.7 → 3.3.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/src/view.js CHANGED
@@ -435,6 +435,8 @@ function initEvent(kv) {
435
435
  kv.$on('mousemove', (e) => {
436
436
  if (kv.board?.isInDraw) {
437
437
  kv.board.onCanvasMove(e);
438
+ } else if (kv.tailoring?.isInTailoring) {
439
+ kv.tailoring.onCanvasMove(e);
438
440
  }
439
441
  }, true, kv.$el);
440
442
 
@@ -475,6 +477,8 @@ function initEvent(kv) {
475
477
  dragPosition = event.position.clone();
476
478
  kv.viewer.viewport.panBy(
477
479
  kv.viewer.viewport.deltaPointsFromPixels(delta.negate()));
480
+ } else if (kv.tailoring?.isInTailoring) {
481
+ kv.tailoring.updateCursor(event.position);
478
482
  } else if (kv.area?.onCanvasMove) {
479
483
  kv.area.onCanvasMove(event.position);
480
484
  }