Skip to content

Commit

Permalink
mxShape.prototype.createSvgCanvas: update for [email protected]
Browse files Browse the repository at this point in the history
  • Loading branch information
tbouffard committed Feb 6, 2022
1 parent 966b49a commit 2074eaf
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/component/mxgraph/config/ShapeConfigurator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 [email protected]
//((canvas as unknown) as mxgraph.mxSvgCanvas2D).blockImagePointerEvents = isFF;
const off = this.getSvgScreenOffset();

if (off != 0) {
Expand Down

0 comments on commit 2074eaf

Please sign in to comment.