-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
There are two bugs this PR fixes: 1. The text style of the ellipsis should be the same as the style of the text that's truncated. This is fixed by passing the styleId to the ellipsis text run. 2. When the text is unwrapped, ellipsis should only happen at the last few characters, instead of the whole line. This is fixed by setting x back to 0.0 after the 'do we need ellipsis' check. Diffs= 4b7454518f editor: minor text fixes (#8787) Co-authored-by: Susan Wang <[email protected]>
- Loading branch information
1 parent
0f4194c
commit c9f80a9
Showing
2 changed files
with
11 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
de2a5cbf93851ab109846403b5a17701f72e507d | ||
4b7454518f23f181a02c8a21c95bc0f6b10fb14a |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters