Skip to content

Commit

Permalink
Specify raster-fade-duration in video test (#115)
Browse files Browse the repository at this point in the history
The changes in mapbox/mapbox-gl-js#826ac59d55984d21e22e9f93d18989a05d4fc5a5 (part of mapbox/mapbox-gl-js#2667 )  result in the `raster-fade-duration` property now working for layers targeting `video` and `image` sources, as opposed to just `raster` sources.  So, it is now necessary to explicitly set the value to 0, overriding the default of 300ms.
  • Loading branch information
anandthakker authored and jfirebaugh committed Jun 20, 2016
1 parent 85d2319 commit 47fba54
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions render-tests/video/default/style.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@
"id": "video",
"type": "raster",
"source": "video",
"paint": {}
"paint": {
"raster-fade-duration": 0
}
}
]
}
}

0 comments on commit 47fba54

Please sign in to comment.