Skip to content

Commit be4c030

Browse files
committed
fix(ios): regression fix in layer parser
1 parent fb5fc87 commit be4c030

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ui-mapbox/layers/parser/property-parser.ios.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ const keysMap = {
8080
'raster-brightness-max': 'minimumRasterBrightness'
8181
};
8282
function transformValue(key, value, _styleType) {
83-
if (_styleType === 'color' || key.indexOf('-color') !== -1) {
83+
if (_styleType === 'color') {
8484
const color = value instanceof Color ? value : new Color(value);
8585
return color.ios;
8686
} else if (_styleType === 'vector') {

0 commit comments

Comments
 (0)