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. 6
      lib/src/widgets/raw_editor/raw_editor_state.dart

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

Loading…
Cancel
Save