From e32073318225a6204a5b37567e7529cb4b725ff2 Mon Sep 17 00:00:00 2001 From: Mike Allen Date: Thu, 15 Feb 2024 14:49:39 -0800 Subject: [PATCH] code clean up - move ScribbleFocusable above CompositedTransformTarget when scrolling is not enabled for consistency with the scrolling scribble area fix --- lib/src/widgets/raw_editor/raw_editor_state.dart | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/lib/src/widgets/raw_editor/raw_editor_state.dart b/lib/src/widgets/raw_editor/raw_editor_state.dart index 0612e19b..d33d0cdc 100644 --- a/lib/src/widgets/raw_editor/raw_editor_state.dart +++ b/lib/src/widgets/raw_editor/raw_editor_state.dart @@ -574,13 +574,13 @@ class QuillRawEditorState extends EditorState ), ); } else { - child = CompositedTransformTarget( - link: _toolbarLayerLink, - child: Semantics( - child: MouseRegion( - cursor: SystemMouseCursors.text, - child: _scribbleFocusable( - QuilRawEditorMultiChildRenderObject( + child = _scribbleFocusable( + CompositedTransformTarget( + link: _toolbarLayerLink, + child: Semantics( + child: MouseRegion( + cursor: SystemMouseCursors.text, + child: QuilRawEditorMultiChildRenderObject( key: _editorKey, document: doc, selection: controller.selection,