Skip to content

Commit

Permalink
Fixed text component RTL alignment during native editing
Browse files Browse the repository at this point in the history
  • Loading branch information
shai-almog committed May 25, 2024
1 parent 8cc3783 commit 225e41e
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -929,6 +929,7 @@ public void run() {
showToolbar = false;
}
if ( currentEditing != null ){
int align = currentEditing.getStyle().getAlignment();
nativeInstance.editStringAt(x,
y,
w,
Expand All @@ -944,7 +945,7 @@ public void run() {
hintColor,
showToolbar,
Boolean.TRUE.equals(cmp.getClientProperty("blockCopyPaste")),
currentEditing.getStyle().getAlignment(),
DefaultLookAndFeel.reverseAlignForBidi(cmp, align),
currentEditing.getVerticalAlignment());
}
}
Expand Down

0 comments on commit 225e41e

Please sign in to comment.