Skip to content

Commit

Permalink
[fix] Basemap overlay blending updater must pass through entire paylo…
Browse files Browse the repository at this point in the history
…ad (#2137)
  • Loading branch information
igorDykhta committed Feb 27, 2023
1 parent e284800 commit def2ce1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/reducers/src/combined-updaters.ts
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ export const combinedMapStyleChangeUpdater = (
return {
...state,
visState,
mapStyle: mapStyleChangeUpdater(mapStyle, {payload: {styleType: payload.styleType}})
mapStyle: mapStyleChangeUpdater(mapStyle, {payload: {...payload}})
};
};

Expand Down
1 change: 0 additions & 1 deletion test/node/reducers/map-style-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -547,4 +547,3 @@ test('#mapStyleReducer -> MAP_STYLE_CHANGE -> dark basemap to no basemap', t =>

t.end();
});

0 comments on commit def2ce1

Please sign in to comment.