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
@@ -202,7 +202,7 @@ import { isDrawableLayer } from '../vendor/layer-logic.js'
|
||||
if (!(box.w > 0 && box.h > 0)) return
|
||||
const ctx = S.overlayCtx
|
||||
const rot = layer.rotation || 0
|
||||
const hs = 7 / S.zoom
|
||||
const hs = 5.5 / S.zoom
|
||||
ctx.save()
|
||||
ctx.strokeStyle = '#e8a735'
|
||||
ctx.lineWidth = 1.5 / S.zoom
|
||||
|
||||
Reference in new issue
Block a user