[core] No need to Update::Classes after removing a layer

This commit is contained in:
John Firebaugh
2017-05-02 10:44:04 -07:00
parent b8b9978b69
commit 6c7730ee7c

View File

@@ -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;
}