From 2c2bb7942be0f0c556d71a996899dd9df779e357 Mon Sep 17 00:00:00 2001 From: Arnaud Gourlay Date: Sat, 7 Dec 2024 21:36:01 +0100 Subject: [PATCH] display tie notes --- src/ui/canvas_measure.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/ui/canvas_measure.rs b/src/ui/canvas_measure.rs index 56f15d0..15789e6 100644 --- a/src/ui/canvas_measure.rs +++ b/src/ui/canvas_measure.rs @@ -528,7 +528,10 @@ fn note_value(note: &Note) -> String { note.value.to_string() } } - NoteType::Tie => String::new(), + NoteType::Tie => { + // https://unicodeplus.com/U+2040 + std::char::from_u32(0x2040).unwrap().into() + } NoteType::Dead => "x".to_string(), NoteType::Unknown(i) => { log::warn!("NoteType Unknown({})", i);