feat(image-annotate): v1.2.11 选中框手柄/旋转手柄/顶栏与选项栏打磨
- 缩放手柄 17px→11px(形状/文字/位图/放置四处统一),命中半径同步收小 - 旋转手柄重绘:细弧+末端小箭头(旋转语义更直观),线更细、色 #f0b34e - Shift+X 切换选中形状 描边/实心(箭头无实心给提示);isTyping 放行 Shift 组合键, 参数数字框里按 Shift+X 不再被吞 - 硬度:滑杆 84→140px + 5 个快捷点(0/25/50/75/100);笔刷推荐大小 7→4 个 - 顶栏:标题在最前,新建/覆盖/退出跟其后且三键统一中性色;标题后与撤销组后各加竖分隔 - harness 更新/新增断言(115 项全绿)
This commit is contained in:
1 parent
0d161d6ded
commit
c176744846
10 files changed
+153
-59
No files matched your search
@@ -140,7 +140,7 @@ import { updateCursor } from './events.js'
|
||||
ctx.stroke()
|
||||
ctx.setLineDash([])
|
||||
// 8 个缩放手柄(旋转后位置)
|
||||
const hs = 8 / S.zoom
|
||||
const hs = 5.5 / S.zoom
|
||||
ctx.fillStyle = '#fff'
|
||||
ctx.strokeStyle = '#4488ff'
|
||||
ctx.lineWidth = 1.5 / S.zoom
|
||||
|
||||
Reference in new issue
Block a user