File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ export class GraticuleLayer {
114114 id : this . id
115115 } ) ;
116116 this . addGraticuleLayer ( ) ;
117- this . resizeEvent = this . renderer . _resizeCallback ;
117+ this . resizeEvent = this . renderer . _resizeCallback . bind ( this . renderer ) ;
118118 this . zoomendEvent = this . setVisibility . bind ( this ) ;
119119 this . _bindEvent ( )
120120 }
Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ export class GraticuleLayer {
118118 id : this . id
119119 } ) ;
120120 this . addGraticuleLayer ( ) ;
121- this . resizeEvent = this . renderer . _resizeCallback ;
121+ this . resizeEvent = this . renderer . _resizeCallback . bind ( this . renderer ) ;
122122 this . zoomendEvent = this . setVisibility . bind ( this ) ;
123123 this . _bindEvent ( )
124124 }
You can’t perform that action at this time.
0 commit comments