File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -262,7 +262,7 @@ class PadPrimitiveGrCircleEnd extends PadPrimitiveGrCirclePoint {
262262}
263263SxClass . register ( PadPrimitiveGrCircleEnd )
264264
265- class PadPrimitiveGrCircleFill extends SxPrimitiveBoolean {
265+ export class PadPrimitiveGrCircleFill extends SxPrimitiveBoolean {
266266 static override token = "fill"
267267 static override parentToken = "gr_circle"
268268 override token = "fill"
@@ -286,12 +286,16 @@ class PadPrimitiveGrCircleFill extends SxPrimitiveBoolean {
286286 if ( normalized === "yes" || normalized === "true" ) {
287287 return new PadPrimitiveGrCircleFill ( true )
288288 }
289- if ( normalized === "no" || normalized === "false" ) {
289+ if (
290+ normalized === "no" ||
291+ normalized === "false" ||
292+ normalized === "none"
293+ ) {
290294 return new PadPrimitiveGrCircleFill ( false )
291295 }
292296 }
293297 throw new Error (
294- `pad primitive gr_circle fill expects yes/no or boolean, received ${ JSON . stringify ( raw ) } ` ,
298+ `pad primitive gr_circle fill expects yes/no/none or boolean, received ${ JSON . stringify ( raw ) } ` ,
295299 )
296300 }
297301}
You can’t perform that action at this time.
0 commit comments