This repository was archived by the owner on Apr 29, 2021. It is now read-only.
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 @@ -118,7 +118,7 @@ evt is PointerHoverEvent ||
118
118
119
119
_TrackedAnnotation _findAnnotation ( MouseTrackerAnnotation annotation ) {
120
120
if ( ! this . _trackedAnnotations . TryGetValue ( annotation , out var trackedAnnotation ) ) {
121
- D . assert ( false , "Unable to find annotation $annotation in tracked annotations. " +
121
+ D . assert ( false , ( ) => "Unable to find annotation $annotation in tracked annotations. " +
122
122
"Check that attachAnnotation has been called for all annotated layers." ) ;
123
123
}
124
124
Original file line number Diff line number Diff line change @@ -1948,7 +1948,7 @@ void _updateAnnotations() {
1948
1948
D . assert ( this . _onPointerEnter != this . _hoverAnnotation . onEnter ||
1949
1949
this . _onPointerHover != this . _hoverAnnotation . onHover ||
1950
1950
this . _onPointerExit != this . _hoverAnnotation . onExit ,
1951
- "Shouldn't call _updateAnnotations if nothing has changed." ) ;
1951
+ ( ) => "Shouldn't call _updateAnnotations if nothing has changed." ) ;
1952
1952
1953
1953
if ( this . _hoverAnnotation != null && this . attached ) {
1954
1954
RendererBinding . instance . mouseTracker . detachAnnotation ( this . _hoverAnnotation ) ;
You can’t perform that action at this time.
0 commit comments