Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

[node] Also Update::Classes when setting a paint property #5614

Merged
merged 2 commits into from
Jul 8, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion platform/linux/scripts/configure.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ LIBUV_VERSION=1.7.5
ZLIB_VERSION=system
NUNICODE_VERSION=1.6
GEOMETRY_VERSION=0.8.0
GEOJSON_VERSION=0.1.4${CXX11ABI:-}
GEOJSON_VERSION=0.1.4
GEOJSONVT_VERSION=6.1.0
VARIANT_VERSION=1.1.0
RAPIDJSON_VERSION=1.0.2
Expand Down
2 changes: 1 addition & 1 deletion platform/node/src/node_map.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -598,7 +598,7 @@ NAN_METHOD(NodeMap::SetPaintProperty) {
return Nan::ThrowTypeError(error->message);
}

nodeMap->map->update(mbgl::Update::RecalculateStyle);
nodeMap->map->update(mbgl::Update::RecalculateStyle | mbgl::Update::Classes);
info.GetReturnValue().SetUndefined();
}

Expand Down