style: lint style

This commit is contained in:
2912401452 2022-03-28 19:47:10 +08:00
parent 22807a0fa7
commit 09af464412
1 changed files with 8 additions and 6 deletions

View File

@ -79,19 +79,21 @@ export default class ExtrudeModel extends BaseModel {
}
public getShaders() {
const { pickLight } = this.layer.getLayerConfig() as IPolygonLayerStyleOptions;
const {
pickLight,
} = this.layer.getLayerConfig() as IPolygonLayerStyleOptions;
if (pickLight) {
return {
frag: polygonExtrudePickLightFrag,
vert: polygonExtrudePickLightVert,
type: 'polygonExtrude'
}
type: 'polygonExtrude',
};
} else {
return {
frag: polygonExtrudeFrag,
vert: polygonExtrudeVert,
type: 'polygonExtrude'
}
type: 'polygonExtrude',
};
}
}