diff options
| author | Malo <57839069+MDLC01@users.noreply.github.com> | 2025-05-20 18:27:14 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-20 16:27:14 +0000 |
| commit | df89a0e85b80844ef56a6fa98af01eaaf7553da8 (patch) | |
| tree | a99ce368fed8f120de51f08047a0ad1dd030a0a3 /crates/typst-ide | |
| parent | ca8d223fdef132d560958203b7d69d827c846991 (diff) | |
Use the right multiplication symbol in expression tooltip (#6163)
Diffstat (limited to 'crates/typst-ide')
| -rw-r--r-- | crates/typst-ide/src/tooltip.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/typst-ide/src/tooltip.rs b/crates/typst-ide/src/tooltip.rs index cbfffe53..2638ce51 100644 --- a/crates/typst-ide/src/tooltip.rs +++ b/crates/typst-ide/src/tooltip.rs @@ -86,7 +86,7 @@ fn expr_tooltip(world: &dyn IdeWorld, leaf: &LinkedNode) -> Option<Tooltip> { *count += 1; continue; } else if *count > 1 { - write!(pieces.last_mut().unwrap(), " (x{count})").unwrap(); + write!(pieces.last_mut().unwrap(), " (×{count})").unwrap(); } } pieces.push(value.repr()); @@ -95,7 +95,7 @@ fn expr_tooltip(world: &dyn IdeWorld, leaf: &LinkedNode) -> Option<Tooltip> { if let Some((_, count)) = last { if count > 1 { - write!(pieces.last_mut().unwrap(), " (x{count})").unwrap(); + write!(pieces.last_mut().unwrap(), " (×{count})").unwrap(); } } |
