Skip to content

Commit

Permalink
chore(label): remove unnecessary registerLayer
Browse files Browse the repository at this point in the history
  • Loading branch information
zarov committed Oct 2, 2020
1 parent 92d9ca0 commit d7f5c06
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Core/View.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ function _preprocessLayer(view, layer, parentLayer) {

layer.whenReady = layer.whenReady.then(() => {
view.addLayer(labelLayer);
view.mainLoop.gfxEngine.label2dRenderer.registerLayer(labelLayer);
return layer;
});
}
Expand Down

0 comments on commit d7f5c06

Please sign in to comment.