[feature] : desktop not show magnifier

pull/2026/head
xuyang 9 months ago
parent ca6187810a
commit 128021b9b2
  1. 2
      lib/src/widgets/raw_editor/raw_editor_state.dart

@ -1753,6 +1753,8 @@ class QuillRawEditorState extends EditorState
@override
void showMagnifier(ui.Offset positionToShow) {
if (defaultTargetPlatform != TargetPlatform.iOS &&
defaultTargetPlatform != TargetPlatform.android) return;
if (_selectionOverlay == null) return;
final position = renderEditor.getPositionForOffset(positionToShow);
_selectionOverlay?.showMagnifier(position, positionToShow, renderEditor);

Loading…
Cancel
Save