-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mxShape.prototype.createSvgCanvas: update for [email protected]
- Loading branch information
Showing
1 changed file
with
0 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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) { | ||
|