Skip to content

Commit ed40e3c

Browse files
committed
fix(callout): use coBorderStyle in dotted branch (was tbBorderStyle TDZ)
1 parent bb377fb commit ed40e3c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

open-pdf-studio/js/annotations/rendering.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -723,7 +723,7 @@ export function drawAnnotation(ctx, annotation) {
723723
ctx.lineWidth = coLineWidth;
724724
if (coBorderStyle === 'dashed') {
725725
ctx.setLineDash([12, 8]);
726-
} else if (tbBorderStyle === 'dotted') {
726+
} else if (coBorderStyle === 'dotted') {
727727
ctx.setLineDash([2, 6]);
728728
} else {
729729
ctx.setLineDash([]);

0 commit comments

Comments
 (0)