File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -753,9 +753,14 @@ fn inlined_note_effect_annotation(note_effect: &NoteEffect) -> String {
753753 SlideType :: OutUpWards => annotation. push ( std:: char:: from_u32 ( 0x27CB ) . unwrap ( ) ) , // https://unicodeplus.com/U+27CB
754754 }
755755 }
756- if let Some ( _bend) = & note_effect. bend {
756+ if let Some ( bend) = & note_effect. bend {
757+ let direction_up = bend. direction ( ) >= 0 ;
757758 // TODO display bend properly
758- annotation. push ( std:: char:: from_u32 ( 0x2191 ) . unwrap ( ) ) ; // https://unicodeplus.com/U+2191
759+ if direction_up {
760+ annotation. push ( std:: char:: from_u32 ( 0x2191 ) . unwrap ( ) ) ; // https://unicodeplus.com/U+2191
761+ } else {
762+ annotation. push ( std:: char:: from_u32 ( 0x2193 ) . unwrap ( ) ) ; // https://unicodeplus.com/U+2193
763+ }
759764 }
760765 annotation
761766}
You can’t perform that action at this time.
0 commit comments