Skip to content

fix: 修复固定列表项鼠标悬停显示移动光标的问题#549

Open
Ethan0x0000 wants to merge 2 commits into
ZToolsCenter:mainfrom
Ethan0x0000:fix/pinned-item-cursor-style
Open

fix: 修复固定列表项鼠标悬停显示移动光标的问题#549
Ethan0x0000 wants to merge 2 commits into
ZToolsCenter:mainfrom
Ethan0x0000:fix/pinned-item-cursor-style

Conversation

@Ethan0x0000

Copy link
Copy Markdown

问题

Windows 上唤起输入框后,鼠标悬停在已固定的指令图标上时,显示的是四向移动光标(move)而非点击手指样式(pointer)。

原因

CommandList.vue 中可拖拽列表项模板硬编码了 style="cursor: move",导致所有固定项始终显示移动光标。

修复

cursor: move 改为 cursor: pointer。vuedraggable 在拖动时会自行处理光标样式,不影响拖拽功能。

Windows 上固定项的可拖拽列表使用了 cursor: move,导致鼠标悬停时显示
四向移动光标而非点击手指样式,改为 cursor: pointer。

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the cursor style of application items in CommandList.vue from move to pointer. The review feedback correctly points out that cursor: pointer is already defined in the .app-item CSS class, making the inline style redundant, and suggests removing it to keep the code clean.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Comment thread src/renderer/src/components/common/CommandList.vue
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant