From 2074eaf1d6ee15f50b58599f0bdc30019fe2cc7f Mon Sep 17 00:00:00 2001 From: Thomas Bouffard <27200110+tbouffard@users.noreply.github.com> Date: Sat, 29 Jan 2022 09:25:20 +0100 Subject: [PATCH] mxShape.prototype.createSvgCanvas: update for mxgraph@4.1.1 --- src/component/mxgraph/config/ShapeConfigurator.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/component/mxgraph/config/ShapeConfigurator.ts b/src/component/mxgraph/config/ShapeConfigurator.ts index bf20301026..2034eae794 100644 --- a/src/component/mxgraph/config/ShapeConfigurator.ts +++ b/src/component/mxgraph/config/ShapeConfigurator.ts @@ -135,8 +135,6 @@ export default class ShapeConfigurator { const canvas = new mxgraph.mxSvgCanvas2D(this.node, false); canvas.strokeTolerance = this.pointerEvents ? this.svgStrokeTolerance : 0; canvas.pointerEventsValue = this.svgPointerEvents; - // When bumping mxgraph to 4.1.1, remove this commented code. It has been removed in mxgraph@4.1.1 - //((canvas as unknown) as mxgraph.mxSvgCanvas2D).blockImagePointerEvents = isFF; const off = this.getSvgScreenOffset(); if (off != 0) {