Closed ShadowSpeedy closed 4 years ago
Please provide a test case that allows us to reproduce this issue. Or, file a PR that fixes it.
Closing this. Feel free to re-open if you can provide a test or a fix.
sorry to reply so late in diagram-js\lib\features\resize\ResizeHandles.js line 91 _createResizer = function(element, x, y, rotation, direction) when i click SequenceFlow the parm x, y would be NaN then the error occured in function "transform" in (diagram-js\lib\util\SvgTransformUtil.js )
So I added this Line to prevent this if (x != undefined && y!=undefined && !window.isNaN(x) && !window.isNaN(y))
In file ResizeAllRules.js
ResizeAllRules.prototype.init = function () { this.addRule('shape.resize', 1500, function (data) { if (data.shape.type === 'bpmn:MyType' || data.shape.type === 'bpmn:Other' || data.shape.type === 'bpmn:TaskX' ) { return true; } }); };
when i use resizeAllModule in additionalModules then if i click the SequenceFlow
error occured in console