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 {
114
114
id : this . id
115
115
} ) ;
116
116
this . addGraticuleLayer ( ) ;
117
- this . resizeEvent = this . renderer . _resizeCallback ;
117
+ this . resizeEvent = this . renderer . _resizeCallback . bind ( this . renderer ) ;
118
118
this . zoomendEvent = this . setVisibility . bind ( this ) ;
119
119
this . _bindEvent ( )
120
120
}
Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ export class GraticuleLayer {
118
118
id : this . id
119
119
} ) ;
120
120
this . addGraticuleLayer ( ) ;
121
- this . resizeEvent = this . renderer . _resizeCallback ;
121
+ this . resizeEvent = this . renderer . _resizeCallback . bind ( this . renderer ) ;
122
122
this . zoomendEvent = this . setVisibility . bind ( this ) ;
123
123
this . _bindEvent ( )
124
124
}
You can’t perform that action at this time.
0 commit comments