From e8f1b229b2f24c69d5dcc8cc310805a69029dd33 Mon Sep 17 00:00:00 2001 From: one Date: Fri, 18 Jul 2025 22:25:30 +0800 Subject: [PATCH] refactor(SelectionAssistant): prevent selecting footer buttons (#8281) --- .../src/windows/selection/action/components/WindowFooter.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/renderer/src/windows/selection/action/components/WindowFooter.tsx b/src/renderer/src/windows/selection/action/components/WindowFooter.tsx index 4843196b41..4de5ed4ce4 100644 --- a/src/renderer/src/windows/selection/action/components/WindowFooter.tsx +++ b/src/renderer/src/windows/selection/action/components/WindowFooter.tsx @@ -229,6 +229,7 @@ const OpButton = styled.div<{ $isWindowFocus: boolean; $isHovered?: boolean }>` white-space: nowrap; overflow: hidden; text-overflow: ellipsis; + user-select: none; .btn-icon { color: var(--color-text-secondary);