File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed 
lib/src/editor/widgets/text Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -382,18 +382,21 @@ class EditorTextSelectionOverlay {
382382  }
383383
384384  void  _onHandleDragStart (DragStartDetails  details, TextPosition  position) {
385+     if  (magnifierConfiguration ==  TextMagnifierConfiguration .disabled) return ;
385386    if  (defaultTargetPlatform !=  TargetPlatform .iOS && 
386387        defaultTargetPlatform !=  TargetPlatform .android) return ;
387388    showMagnifier (position, details.globalPosition, renderObject);
388389  }
389390
390391  void  _onHandleDragUpdate (DragUpdateDetails  details, TextPosition  position) {
392+     if  (magnifierConfiguration ==  TextMagnifierConfiguration .disabled) return ;
391393    if  (defaultTargetPlatform !=  TargetPlatform .iOS && 
392394        defaultTargetPlatform !=  TargetPlatform .android) return ;
393395    updateMagnifier (position, details.globalPosition, renderObject);
394396  }
395397
396398  void  _onHandleDragEnd (DragEndDetails  details) {
399+     if  (magnifierConfiguration ==  TextMagnifierConfiguration .disabled) return ;
397400    if  (defaultTargetPlatform !=  TargetPlatform .iOS && 
398401        defaultTargetPlatform !=  TargetPlatform .android) return ;
399402    hideMagnifier ();
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments