refactor(platform): 统一控件 - 统一输入按钮与图标控件样式表现

This commit is contained in:
ddcat666
2026-09-25 06:34:42 +08:00
parent 8a691f76c9
commit 2ce50bbb9d
15 changed files with 100 additions and 111 deletions

View File

@@ -259,6 +259,7 @@ function DockCommandButton({ command, mouseX, metrics, motionEnabled, compact, s
type="button"
aria-label={command.label}
title={nativeTitle}
data-icon-only
aria-expanded={command.expands ? command.active || undefined : undefined}
aria-pressed={command.expands ? undefined : command.active || undefined}
disabled={command.disabled}