From b7bd3e6653f5619990aa9b49bd6766725503d24c Mon Sep 17 00:00:00 2001 From: leo Date: Fri, 19 Dec 2025 11:36:23 +0800 Subject: [PATCH] ux: apply workspace color to `Move to Workspace` context menu entry in launcher's tab Signed-off-by: leo --- src/Views/LauncherTabBar.axaml.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Views/LauncherTabBar.axaml.cs b/src/Views/LauncherTabBar.axaml.cs index 545f0bf6..8d044afc 100644 --- a/src/Views/LauncherTabBar.axaml.cs +++ b/src/Views/LauncherTabBar.axaml.cs @@ -346,10 +346,12 @@ namespace SourceGit.Views { var dupWs = ws; var isCurrent = dupWs == vm.ActiveWorkspace; + var icon = App.CreateMenuIcon(isCurrent ? "Icons.Check" : "Icons.Workspace"); + icon.Fill = dupWs.Brush; var target = new MenuItem(); target.Header = ws.Name; - target.Icon = App.CreateMenuIcon(isCurrent ? "Icons.Check" : "Icons.Workspace"); + target.Icon = icon; target.Click += (_, ev) => { if (!isCurrent)