feat(image-annotate): 1.2.2 手柄仅选择工具/高亮跟随绘制目标/选项栏快捷点与裁剪参数/Enter-Esc 裁剪

This commit is contained in:
qiqi committed 2026-11-04 20:30:49 +08:00
1 parent 1bf8220c05
commit f50b734fd7
11 files changed
+340 -164

No files matched your search

+3
View File
@@ -193,6 +193,9 @@ import { isDrawableLayer } from '../vendor/layer-logic.js'
export function drawBitmapSelection(layer) {
if (!layer) return
// 变换框/手柄只在「选择」工具下出现(用户裁定 2026-11-04):
// 画笔/橡皮等绘制工具下不显示调节杆,避免误抓手柄也减少视觉噪音。
if (S.tool !== 'select') return
const drawable = isDrawableLayer(layer)
if (!layer.transformable && !drawable) return
const box = layerFrame(layer)