code clean up - move ScribbleFocusable above CompositedTransformTarget when scrolling is not enabled for consistency with the scrolling scribble area fix

pull/1745/head
Mike Allen 1 year ago
parent 68c565242b
commit e320733182
  1. 14
      lib/src/widgets/raw_editor/raw_editor_state.dart

@ -574,13 +574,13 @@ class QuillRawEditorState extends EditorState
), ),
); );
} else { } else {
child = CompositedTransformTarget( child = _scribbleFocusable(
link: _toolbarLayerLink, CompositedTransformTarget(
child: Semantics( link: _toolbarLayerLink,
child: MouseRegion( child: Semantics(
cursor: SystemMouseCursors.text, child: MouseRegion(
child: _scribbleFocusable( cursor: SystemMouseCursors.text,
QuilRawEditorMultiChildRenderObject( child: QuilRawEditorMultiChildRenderObject(
key: _editorKey, key: _editorKey,
document: doc, document: doc,
selection: controller.selection, selection: controller.selection,

Loading…
Cancel
Save