From 50d6dc3d21c5c373d81f294d9b869a76205840a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vuka=C5=A1in=20Vojinovi=C4=87?= Date: Mon, 21 Oct 2024 15:26:54 +0200 Subject: [PATCH] fix(menu): use corner radius from theme --- src/shell/grabs/menu/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shell/grabs/menu/mod.rs b/src/shell/grabs/menu/mod.rs index c0a95019..83cc70f1 100644 --- a/src/shell/grabs/menu/mod.rs +++ b/src/shell/grabs/menu/mod.rs @@ -441,7 +441,7 @@ impl Program for ContextMenu { text_color: Some(component.on.into()), background: Some(Background::Color(component.base.into())), border: Border { - radius: 8.0.into(), + radius: cosmic.radius_s().into(), width: 1.0, color: component.divider.into(), },