Fixed possible render bug
This commit is contained in:
parent
e3704879c9
commit
dfce8dee05
@ -368,7 +368,7 @@ function MapFog({
|
|||||||
|
|
||||||
function renderPolygonAcceptTick(shape) {
|
function renderPolygonAcceptTick(shape) {
|
||||||
if (shape.data.points.length === 0) {
|
if (shape.data.points.length === 0) {
|
||||||
return;
|
return null;
|
||||||
}
|
}
|
||||||
const isCross = shape.data.points.length < 4;
|
const isCross = shape.data.points.length < 4;
|
||||||
return (
|
return (
|
||||||
|
Loading…
Reference in New Issue
Block a user