diff --git a/crates/oa-desktop/src/app/scenario_reorder.rs b/crates/oa-desktop/src/app/scenario_reorder.rs index 5b5d46c4..555626d8 100644 --- a/crates/oa-desktop/src/app/scenario_reorder.rs +++ b/crates/oa-desktop/src/app/scenario_reorder.rs @@ -36,12 +36,7 @@ pub(crate) enum Intent { } fn short_label(value: &str) -> String { - let mut chars = value.chars(); - let mut label: String = chars.by_ref().take(24).collect(); - if chars.next().is_some() { - label.push('…'); - } - label + crate::views::short(value, 24) } /// Actual committed block order, independent of capture order or saved Y.