Skip to content

Commit 03423a8

Browse files
committed
fix: fix return type to boolean in FillPainter picking's enableStencil
1 parent d821915 commit 03423a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/vt/src/layer/plugins/painters/FillPainter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -625,7 +625,7 @@ class FillPainter extends BasicPainter {
625625
],
626626
extraCommandProps,
627627
enableStencil: () => {
628-
return isVectorTile && this.isOnly2D();
628+
return !!(isVectorTile && this.isOnly2D());
629629
}
630630
},
631631
this.pickingFBO,

0 commit comments

Comments
 (0)