-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update
x_offset
calculation in Buffer::set_string_truncated
when `truncate_start` is `true`, the `x_offset` is now properly updated according to the width of the content or the truncated length.
- Loading branch information
1 parent
ec81ec1
commit 9b9cf88
Showing
1 changed file
with
4 additions
and
3 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