Fix bug with map quality levels not loading on peers
This commit is contained in:
@@ -32,7 +32,11 @@ function MapInteraction({
|
||||
}) {
|
||||
let mapSourceMap = map;
|
||||
if (map && map.type === "file") {
|
||||
if (map.resolutions && map.quality !== "original") {
|
||||
if (
|
||||
map.resolutions &&
|
||||
map.quality !== "original" &&
|
||||
map.resolutions[map.quality]
|
||||
) {
|
||||
mapSourceMap = map.resolutions[map.quality];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user