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

Commit

Permalink
[core] No need to Update::Classes after removing a layer
Browse files Browse the repository at this point in the history
  • Loading branch information
jfirebaugh committed May 3, 2017
1 parent b8b9978 commit 6c7730e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mbgl/map/map.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -947,7 +947,7 @@ std::unique_ptr<Layer> Map::removeLayer(const std::string& id) {
BackendScope guard(impl->backend);

auto removedLayer = impl->style->removeLayer(id);
impl->onUpdate(Update::Classes);
impl->onUpdate(Update::Repaint);

return removedLayer;
}
Expand Down

0 comments on commit 6c7730e

Please sign in to comment.