Skip to content

Commit

Permalink
✨ wip on #43: switch off arrow layer when the animation is shown
Browse files Browse the repository at this point in the history
  • Loading branch information
helllth committed Jul 30, 2020
1 parent c764704 commit 589d5b3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/containers/Starkregen.js
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,9 @@ export class Starkregen_ extends React.Component {
/>
)}
{this.props.starkregen.displayMode === starkregenConstants.SHOW_VELOCITY &&
currentZoom >= 12 && (
currentZoom >= 12 &&
(this.props.starkregen.animationEnabled === false ||
mapRef.getZoom() < MIN_ANIMATION_ZOOM) && (
<WMSTileLayer
ref={(c) => (this.modelLayer = c)}
key={
Expand Down

0 comments on commit 589d5b3

Please sign in to comment.