Skip to content

批注栏非选定项始终上下居中#503

Open
PANDAJSR wants to merge 1 commit into
InkCanvasForClass:net6from
PANDAJSR:fix/toolbar-left-icon-centering
Open

批注栏非选定项始终上下居中#503
PANDAJSR wants to merge 1 commit into
InkCanvasForClass:net6from
PANDAJSR:fix/toolbar-left-icon-centering

Conversation

@PANDAJSR
Copy link
Copy Markdown
Contributor

概述

修复主浮动工具栏按钮的垂直对齐问题:非选中项现在会保持视觉上的上下居中,不再因为底部选中指示线的预留空间而显得偏上。

改动内容

  • 移除了 ToolbarImageButton 对所有按钮统一预留底部空间的布局方式。
  • 非选中工具栏按钮默认保持垂直居中。
  • 仅当前选中的工具栏按钮会轻微向上浮动。
  • 为选中/取消选中的上下位移增加了短动画。
  • 在工具栏高亮切换或隐藏时,会复位上一个选中按钮的位移状态。

@PANDAJSR PANDAJSR changed the title 批注栏非选定向始终上下居中 批注栏非选定项始终上下居中 May 24, 2026
@PANDAJSR
Copy link
Copy Markdown
Contributor Author

image

@PrefacedCorg
Copy link
Copy Markdown
Collaborator

加开关

@PrefacedCorg
Copy link
Copy Markdown
Collaborator

在按下时阴影与底部的间距 应该和阴影与顶部的间距一致

@PrefacedCorg
Copy link
Copy Markdown
Collaborator

在选中状态下 长摁下的阴影与浅蓝色高光 位置与大小不一致
Screenshot_2026-05-24-23-10-57-63_c64343b3d99ee4e753b26457c167d0cb

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.

2 participants