-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix cross-fading of *-pattern and line-dasharray
- Loading branch information
1 parent
752e28e
commit 311c9f9
Showing
6 changed files
with
93 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+11.2 KB
test/integration/render-tests/regressions/mapbox-gl-js#5740/expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
72 changes: 72 additions & 0 deletions
72
test/integration/render-tests/regressions/mapbox-gl-js#5740/style.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
{ | ||
"version": 8, | ||
"metadata": { | ||
"test": { | ||
"fadeDuration": 1000, | ||
"width": 64, | ||
"height": 64, | ||
"description": "Tests that fill-pattern cross-fading completes, by checking the rendering after the fade duration has elapsed.", | ||
"operations": [ | ||
[ | ||
"wait" | ||
], | ||
[ | ||
"setZoom", | ||
1.1 | ||
], | ||
[ | ||
"wait", | ||
0 | ||
], | ||
[ | ||
"wait", | ||
1000 | ||
] | ||
] | ||
} | ||
}, | ||
"sources": { | ||
"geojson": { | ||
"type": "geojson", | ||
"data": { | ||
"type": "Polygon", | ||
"coordinates": [ | ||
[ | ||
[ | ||
-10, | ||
-10 | ||
], | ||
[ | ||
-10, | ||
10 | ||
], | ||
[ | ||
10, | ||
10 | ||
], | ||
[ | ||
10, | ||
-10 | ||
], | ||
[ | ||
-10, | ||
-10 | ||
] | ||
] | ||
] | ||
} | ||
} | ||
}, | ||
"sprite": "local://sprites/emerald", | ||
"layers": [ | ||
{ | ||
"id": "fill", | ||
"type": "fill", | ||
"source": "geojson", | ||
"paint": { | ||
"fill-antialias": false, | ||
"fill-pattern": "generic_icon" | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters