fix:line thickness of rendered margin
This commit is contained in:
@@ -21,6 +21,7 @@ export class Margin {
|
|||||||
const margins = this.draw.getMargins()
|
const margins = this.draw.getMargins()
|
||||||
const marginIndicatorSize = this.draw.getMarginIndicatorSize()
|
const marginIndicatorSize = this.draw.getMarginIndicatorSize()
|
||||||
ctx.save()
|
ctx.save()
|
||||||
|
ctx.translate(0.5, 0.5)
|
||||||
ctx.strokeStyle = marginIndicatorColor
|
ctx.strokeStyle = marginIndicatorColor
|
||||||
ctx.beginPath()
|
ctx.beginPath()
|
||||||
const leftTopPoint: [number, number] = [margins[3], margins[0]]
|
const leftTopPoint: [number, number] = [margins[3], margins[0]]
|
||||||
|
|||||||
Reference in New Issue
Block a user