diff options
author | its your bedtime <23366927+itsyourbedtime@users.noreply.github.com> | 2021-07-02 14:30:30 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-02 14:30:30 +0300 |
commit | c388458462e99a79aa85926e9e84ec07fb09305c (patch) | |
tree | b0f31fd98e59c6248b8a88af453b9fcee0e87b72 /applications/gui/elements.c | |
parent | 6c9be3755c69a665c9e32bdfab954f6f1dd68d3e (diff) |
[FL-1281] Unlocked screen fix+ (#556)
* Dolphin app: fix "Unlocked" popup timeout on menu enter
* FL-1404: fix word wrap index
Diffstat (limited to 'applications/gui/elements.c')
-rw-r--r-- | applications/gui/elements.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/gui/elements.c b/applications/gui/elements.c index 8217b6ef..d2896e57 100644 --- a/applications/gui/elements.c +++ b/applications/gui/elements.c @@ -236,7 +236,7 @@ void elements_multiline_text_aligned( string_t buff; string_init_set(buff, str); size_t s_len = string_size(str); - uint8_t end_pos = s_len - ((len_px - px_left) / (len_px / s_len) + 2); + uint8_t end_pos = s_len - ((len_px - px_left) / (len_px / s_len) + 5); string_left(buff, end_pos); string_cat(buff, "-"); |