Only clear canvas when necessary, add tests

This commit is contained in:
Tim Schaub
2017-09-24 10:58:01 -07:00
parent ecc2a9059e
commit 0f53d04361
6 changed files with 85 additions and 5 deletions

View File

@@ -4,7 +4,7 @@ title: Tile Transitions
shortdesc: Custom configuration for opacity transitions on tiles.
docs: >
By default tiles are rendered with an opacity transition - fading in over
250 ms. To disable this behavior, set the <code>transition</code> option
275 ms. To disable this behavior, set the <code>transition</code> option
of the tile source to 0.
tags: "fade, transition"
---