Skip to content

Commit e1d9a51

Browse files
authored
Custom paint explainer: Fix class example bug
1 parent ff82f64 commit e1d9a51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

css-paint-api/EXPLAINER.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ class RectPainter {
8787
}
8888
}
8989

90-
class BorderRectPainter {
90+
class BorderRectPainter extends RectPainter {
9191
static inputProperties = ['--border-color', ...super.inputProperties];
9292

9393
paint(ctx, size, style) {

0 commit comments

Comments
 (0)