Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Silence inconsistent flow error
Browse files Browse the repository at this point in the history
karimnaaji committed May 14, 2020
1 parent 3465169 commit 0be0225
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/style/style_layer.js
Original file line number Diff line number Diff line change
@@ -90,7 +90,6 @@ class StyleLayer extends Evented {
}

if (properties.paint) {

this._transitionablePaint = new Transitionable(properties.paint);

for (const property in layer.paint) {
@@ -101,6 +100,7 @@ class StyleLayer extends Evented {
}

this._transitioningPaint = this._transitionablePaint.untransitioned();
//$FlowFixMe
this.paint = new PossiblyEvaluated(properties.paint);
}
}

0 comments on commit 0be0225

Please sign in to comment.