mirror of
https://github.com/storytold/designcraft.git
synced 2026-11-02 06:36:51 -06:00
Integration: format
This commit is contained in:
@@ -2795,7 +2795,8 @@ fn wrap_slot(
|
||||
}
|
||||
} else {
|
||||
// Segments before the first that `holds` the line's first word stay empty.
|
||||
let segs: Vec<(f64, f64)> = free_slots(f, col, b - asc, b + desc, size, rtl, line_start).into_iter().skip_while(|seg| !holds(seg)).collect();
|
||||
let segs: Vec<(f64, f64)> =
|
||||
free_slots(f, col, b - asc, b + desc, size, rtl, line_start).into_iter().skip_while(|seg| !holds(seg)).collect();
|
||||
if !segs.is_empty() {
|
||||
return Some((b, segs));
|
||||
}
|
||||
|
||||
@@ -1728,4 +1728,5 @@ pub(super) const TABLE: &[(&str, &str)] = &[
|
||||
];
|
||||
|
||||
/// Contexts whose Russian noun differs from the shared action/text-layout label.
|
||||
pub(super) const CONTEXT: &[(&str, &str, &str)] = &[("Columns", "table", "Столбцы"), ("Columns:", "grid", "Столбцы:"), ("Group", "selection", "Группа")];
|
||||
pub(super) const CONTEXT: &[(&str, &str, &str)] =
|
||||
&[("Columns", "table", "Столбцы"), ("Columns:", "grid", "Столбцы:"), ("Group", "selection", "Группа")];
|
||||
|
||||
@@ -1649,4 +1649,5 @@ pub(super) const TABLE: &[(&str, &str)] = &[
|
||||
];
|
||||
|
||||
/// Contexts whose Ukrainian noun differs from the shared action/text-layout label.
|
||||
pub(super) const CONTEXT: &[(&str, &str, &str)] = &[("Columns", "table", "Стовпці"), ("Columns:", "grid", "Стовпці:"), ("Group", "selection", "Група")];
|
||||
pub(super) const CONTEXT: &[(&str, &str, &str)] =
|
||||
&[("Columns", "table", "Стовпці"), ("Columns:", "grid", "Стовпці:"), ("Group", "selection", "Група")];
|
||||
|
||||
Reference in New Issue
Block a user