Skip to content
This repository was archived by the owner on Nov 22, 2024. It is now read-only.

Commit aec74c9

Browse files
committed
Use the selection box's background color for the outline if given
1 parent 4561606 commit aec74c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/canvasRenderer.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ defineCanvasRenderer 'SelectionBox', do ->
9090
shape._br.width + shape.margin * 2,
9191
shape._br.height + shape.margin * 2)
9292
ctx.lineWidth = 1
93-
ctx.strokeStyle = '#000'
93+
ctx.strokeStyle = shape.backgroundColor or '#000'
9494
ctx.setLineDash([2, 4])
9595
ctx.strokeRect(
9696
shape._br.x - shape.margin, shape._br.y - shape.margin,

0 commit comments

Comments
 (0)