Skip to content

Commit

Permalink
incorporate suggestions from review
Browse files Browse the repository at this point in the history
  • Loading branch information
iisakkirotko committed Apr 12, 2024
1 parent 64a952c commit ca7d3b7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions python/jupyter_leaflet/src/Map.ts
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,8 @@ export class LeafletMapView extends LeafletDOMWidgetView {
const view = await this.create_child_view<LeafletControlView>(child_model, {
map_view: this,
});
// Work around for Geoman creating and adding its own toolbar
// TODO: remove the special case
if (
view instanceof LeafletGeomanDrawControlView &&
!child_model.get('hide_controls')
Expand Down

0 comments on commit ca7d3b7

Please sign in to comment.