1. 顶栏删掉置顶/上移/下移/置底四个层级按钮(图层拖动 + Ctrl+]/[ 已覆盖), `.iwb-editor-commands` 整块移除,`updateLayerUI()` / `bindLayerOrderButtons()` 一并清除。 2. 「适应窗口 / 收起侧栏」移到工具栏 DOM 末尾 —— 工具栏是 shrink-to-fit 的 absolute 居中容器,放最后天然就在最右,无需额外定位。 3. 快捷键:R 矩形、O 圆形、L 箭头;套索从 L 迁到 A(能力不丢),U 与 Shift+U 保留。 键盘处理改为优先匹配 e.code,修掉中文输入法下 [ ] 变【】导致的失灵。 4. 原生 <input type="color"> 补接 input 事件做实时预览(skipHistory + nativeColorSnapped),change 才落一次可撤销提交 —— 拖一整轮色谱只记 1 步。 5. 原图不再钉底:planPanelOrder / updateSortTarget / onSortEnd / moveLayer / mergeUnits 五处解封,其他图层可拖到原图下方,面板提示同步更新。 回归:tools/harness.mjs 140 → 192 条全通;npm run validate 9/9。
12 lines
296 B
JSON
12 lines
296 B
JSON
{
|
||
"name": "@iwb-plugin/image-annotate",
|
||
"private": true,
|
||
"version": "1.13.0",
|
||
"description": "IWB 插件:图片标注 / 修图(编辑器移植自 iwb-plaus 扩展,纯 Canvas 2D)",
|
||
"ibwPlugin": {
|
||
"id": "image-annotate",
|
||
"entry": "src/index.js",
|
||
"apiVersion": 1
|
||
}
|
||
}
|