From e1d234144fd287b165d49b4b661f6bc862a30c3b Mon Sep 17 00:00:00 2001 From: squid Date: Wed, 4 Nov 2026 21:04:37 +0100 Subject: [PATCH] Replaced < with a glyph on submenues in the hamburger menu --- src/main.rs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/main.rs b/src/main.rs index 473eee4..7452838 100644 --- a/src/main.rs +++ b/src/main.rs @@ -2121,7 +2121,7 @@ fn menu_item( } /// Vertical offset of the Tabs row inside the menu column, so the chevron -/// column can place its `< |` alongside it. Keep in sync with the layout. +/// column can place its `◀ |` alongside it. Keep in sync with the layout. fn tabs_row_top() -> f32 { let mut top = MENU_ITEM_HEIGHT + 4.0; @@ -2244,19 +2244,20 @@ fn view(state: &Moorly) -> Element<'_, Message> { .push(menu_item("Quit", quit_shortcut, Message::Quit)) .width(Length::Fill); - // The `< |` marker owns its own column; menu rows start to its right. + // The `◀ |` marker owns its own column; menu rows start to its right. let tabs_marker = container( column![ space::vertical().height(tabs_row_top()), container( row![ - text("<").size(12), + text("◀").size(16), container(rule::vertical(1)).height(12).padding([0, 6]), ] .align_y(Alignment::Center), ) .height(MENU_ITEM_HEIGHT) - .align_y(Alignment::Center), + .padding(Padding::ZERO.top(4.0)) + .align_y(Alignment::Start), ], ) .width(24);