@processmaker/modeler 1.36.1 → 1.36.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@processmaker/modeler",
3
- "version": "1.36.1",
3
+ "version": "1.36.4",
4
4
  "scripts": {
5
5
  "serve": "vue-cli-service serve",
6
6
  "open-cypress": "TZ=UTC cypress open",
@@ -1259,7 +1259,7 @@ export default {
1259
1259
  pointerMoveHandler(event) {
1260
1260
  const { clientX: x, clientY: y } = event;
1261
1261
  if (store.getters.isReadOnly) {
1262
- if (this.canvasDragPosition) {
1262
+ if (this.canvasDragPosition && !this.clientLeftPaper) {
1263
1263
  this.paperManager.translate(
1264
1264
  event.offsetX - this.canvasDragPosition.x,
1265
1265
  event.offsetY - this.canvasDragPosition.y,
@@ -1391,7 +1391,7 @@ export default {
1391
1391
  this.pointerUpHandler(event, cellView);
1392
1392
  }, this);
1393
1393
 
1394
- this.$el.addEventListener('mouseenter', () => {
1394
+ this.$refs['paper-container'].addEventListener('mouseenter', () => {
1395
1395
  store.commit('setClientLeftPaper', false);
1396
1396
  });
1397
1397
 
@@ -1399,7 +1399,7 @@ export default {
1399
1399
  this.pointerMoveHandler(event);
1400
1400
  });
1401
1401
 
1402
- this.$el.addEventListener('mouseleave', () => {
1402
+ this.$refs['paper-container'].addEventListener('mouseleave', () => {
1403
1403
  this.paperManager.removeEventHandler('blank:pointermove');
1404
1404
  store.commit('setClientLeftPaper', true);
1405
1405
  });
package/public/.DS_Store DELETED
Binary file
package/src/.DS_Store DELETED
Binary file