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() { public getShaders() {
const { pickLight } = this.layer.getLayerConfig() as IPolygonLayerStyleOptions; const {
pickLight,
} = this.layer.getLayerConfig() as IPolygonLayerStyleOptions;
if (pickLight) { if (pickLight) {
return { return {
frag: polygonExtrudePickLightFrag, frag: polygonExtrudePickLightFrag,
vert: polygonExtrudePickLightVert, vert: polygonExtrudePickLightVert,
type: 'polygonExtrude' type: 'polygonExtrude',
} };
} else { } else {
return { return {
frag: polygonExtrudeFrag, frag: polygonExtrudeFrag,
vert: polygonExtrudeVert, vert: polygonExtrudeVert,
type: 'polygonExtrude' type: 'polygonExtrude',
} };
} }
} }