From fce39459d6328309a3532dd176a27de9498d2bd1 Mon Sep 17 00:00:00 2001 From: susan101566 Date: Fri, 20 Dec 2024 02:33:06 +0000 Subject: [PATCH] editor: minor text fixes 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) --- .rive_head | 2 +- wasm/submodules/rive-runtime | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.rive_head b/.rive_head index 2fd2d170..803d7361 100644 --- a/.rive_head +++ b/.rive_head @@ -1 +1 @@ -de2a5cbf93851ab109846403b5a17701f72e507d +4b7454518f23f181a02c8a21c95bc0f6b10fb14a diff --git a/wasm/submodules/rive-runtime b/wasm/submodules/rive-runtime index 0f4194c6..c9f80a92 160000 --- a/wasm/submodules/rive-runtime +++ b/wasm/submodules/rive-runtime @@ -1 +1 @@ -Subproject commit 0f4194c6e977265b0dbecbfe7f7d554aa78edff0 +Subproject commit c9f80a928d6a4db3f1acb329016f901c67bd932b