瀏覽代碼

remove update call from constructor

Jason Grout 8 年之前
父節點
當前提交
b571fd90e1
共有 1 個文件被更改,包括 0 次插入1 次删除
  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();
     });