Skip to content

Commit

Permalink
fix: resolve issue with SCSS flex layout
Browse files Browse the repository at this point in the history
  • Loading branch information
makimenko committed Sep 1, 2021
1 parent 6e7cbfa commit e7beeec
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions src/app/editor/editor-canvas/editor-canvas.component.html
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
<atft-map-controls #controls
rotateSpeed=0 zoomSpeed=1.2 [dampingFactor]="0.1" [enableDamping]="true"
[autoRotate]="false" [minZoom]="3" [maxZoom]="12">
rotateSpeed=0 zoomSpeed=1.2 [dampingFactor]="0.1" [enableDamping]="false"
[autoRotate]="false" [minZoom]="3" [maxZoom]="100">
<atft-renderer-canvas [preserveDrawingBuffer]="true">
<atft-orthographic-camera [positionX]=positionX [positionY]=-50 [positionZ]="100" [zoom]=6 [zAxisUp]="true"
>
</atft-orthographic-camera>

<atft-scene name="scene" background="0xa0a0a0">
<atft-plane-mesh name="ground" height="2000" width="2000" materialColor="0x999999" [depthWrite]="true"
<atft-scene name="scene" background="#a0a0a0">
<atft-plane-mesh name="ground" height="2000" width="2000" materialColor="#999999" [depthWrite]="true"
[castShadow]="false"
material="phong" [receiveShadow]="false" heightSegments=1 widthSegments="1" translateZ="-0.1">
</atft-plane-mesh>

<atft-hemisphere-light name="hemi-light" skyColor="0xffffff" groundColor="0xffffff" intensity="0.4"
<atft-hemisphere-light name="hemi-light" skyColor="#ffffff" groundColor="#ffffff" intensity="0.4"
translateX="-20" translateY="-20" translateZ="100">
</atft-hemisphere-light>

Expand Down
2 changes: 1 addition & 1 deletion src/app/editor/editor-canvas/editor-canvas.component.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
:host {
flex: 1 0 auto;
flex: 1 1 auto;
}

.btn {
Expand Down

0 comments on commit e7beeec

Please sign in to comment.