Skip to content

Commit

Permalink
Fix lint-check
Browse files Browse the repository at this point in the history
  • Loading branch information
csouchet authored and tbouffard committed Jul 2, 2020
1 parent 4b1726d commit 0c767e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/component/mxgraph/extension/MxScaleFactorCanvas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ export class MxCanvasUtil {
c.translate(shape.x + insetW, shape.y + insetH);
}

public static translateIconToShapeBottomCenter(canvas: mxgraph.mxXmlCanvas2D, shape: ShapeConfiguration, iconSize: Size) {
public static translateIconToShapeBottomCenter(canvas: mxgraph.mxXmlCanvas2D, shape: ShapeConfiguration, iconSize: Size): void {
const insetW = (shape.w - iconSize.width) / 2;
const insetH = shape.h - iconSize.height - 7;
canvas.translate(shape.x + insetW, shape.y + insetH);
Expand Down

0 comments on commit 0c767e5

Please sign in to comment.