mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-19 19:01:24 +08:00
fix RichTextField affinity on desktop
Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
@@ -3341,6 +3341,13 @@ class EditableTextState extends State<EditableText>
|
||||
affinity: _value.selection.affinity,
|
||||
),
|
||||
);
|
||||
if (remoteValue != null) {
|
||||
remoteValue = remoteValue.copyWith(
|
||||
selection: remoteValue.selection.copyWith(
|
||||
affinity: _value.selection.affinity,
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
if (widget.readOnly) {
|
||||
|
||||
Reference in New Issue
Block a user