Browse Source

remove update call from constructor

Jason Grout 8 năm trước cách đây
mục cha
commit
b571fd90e1
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  1. 0 1
      src/leafletwidget/widget.ts

+ 0 - 1
src/leafletwidget/widget.ts

@@ -69,7 +69,6 @@ class MapWidget extends Widget {
       return map._size.clone();
     };
 
-    this.update();
     context.model.contentChanged.connect(() => {
       this.update();
     });