Skip to content

Commit da2ea38

Browse files
authored
fixed some prop references for canvas shaders (#645)
2 parents 6ab9754 + 61bba35 commit da2ea38

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/core/shaders/canvas/RoundedWithBorder.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ export const RoundedWithBorder: CanvasShaderType<
6262
quad.width,
6363
quad.height,
6464
computed.radius,
65-
this.props!['border-width'] as Vec4,
65+
this.props!['border-w'] as Vec4,
6666
computed.borderRadius,
6767
computed.borderColor,
6868
computed.borderAsym,

src/core/shaders/canvas/RoundedWithBorderAndShadow.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ export const RoundedWithBorderAndShadow: CanvasShaderType<
7878
quad.width,
7979
quad.height,
8080
computed.radius,
81-
this.props!['border-width'] as Vec4,
81+
this.props!['border-w'] as Vec4,
8282
computed.borderRadius,
8383
computed.borderColor,
8484
computed.borderAsym,

0 commit comments

Comments
 (0)