Skip to content

Commit 9367bdf

Browse files
author
Ellet
committed
revert: fix selection.affinity always downstream after updateEditingValue
1 parent 52d5664 commit 9367bdf

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/src/widgets/raw_editor/raw_editor_state_text_input_client_mixin.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,8 +203,7 @@ mixin RawEditorStateTextInputClientMixin on EditorState
203203
diff.start,
204204
diff.deleted.length,
205205
diff.inserted,
206-
value.selection.copyWith(
207-
affinity: widget.configurations.controller.selection.affinity),
206+
value.selection,
208207
);
209208
}
210209
}

0 commit comments

Comments
 (0)