-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Restore support for non-integer devicePixelRatio
- Loading branch information
1 parent
515c0b8
commit fa8f136
Showing
4 changed files
with
46 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
Binary file added
BIN
+1.26 KB
test/integration/render-tests/regressions/mapbox-gl-js#4928/expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
41 changes: 41 additions & 0 deletions
41
test/integration/render-tests/regressions/mapbox-gl-js#4928/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,41 @@ | ||
{ | ||
"version": 8, | ||
"metadata": { | ||
"test": { | ||
"width": 64, | ||
"height": 64, | ||
"pixelRatio": 1.1, | ||
"operations": [ | ||
[ | ||
"addImage", | ||
"marker", | ||
"./image/marker.png" | ||
], | ||
[ | ||
"addLayer", | ||
{ | ||
"id": "geometry", | ||
"type": "symbol", | ||
"source": "geometry", | ||
"layout": { | ||
"icon-image": "marker" | ||
} | ||
} | ||
], | ||
[ | ||
"wait" | ||
] | ||
] | ||
} | ||
}, | ||
"sources": { | ||
"geometry": { | ||
"type": "geojson", | ||
"data": { | ||
"type": "Point", | ||
"coordinates": [0, 0] | ||
} | ||
} | ||
}, | ||
"layers": [] | ||
} |
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