Files
iwb-plugins-desktop/image-annotate/package.json
T
qiqi b9ace636ef fix(image-annotate): 图层 z 序统一 + 排序按钮/选中修复(1.0.5)
- 根因:粘贴图片用 S.layers.length 当 z,矢量用 ++S.zCounter ⇒ z 撞车;
  面板/DOM/合成/命中四处各自排序,导致排序按钮交换 z 无效、截图选不中、双高亮
- objects.js 新增 layerUnits()/layerUnitsDesc()/assignLayerZ()/selectUnit()/hitTopmost():
  图层顺序唯一真源、连续 z、选中态唯一、统一 z 降序命中
- moveLayer 改为统一列表重排(置顶/上移/下移/置底全部生效,base 固定在最底不吞元素)
- placement 改 ++S.zCounter;deleteLayer 不再重置位图 z;面板高亮与画笔目标(✎)分离
- 形状/文字/钢笔创建、裁剪、清空标注、重开编辑器均清旧位图选中 id
- e2e 补 9 条回归断言(真站 22/22 通过);README 记录与上游的偏离,防回灌覆盖
2026-11-04 16:14:57 +08:00

12 lines
295 B
JSON
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"name": "@iwb-plugin/image-annotate",
"private": true,
"version": "1.0.5",
"description": "IWB 插件:图片标注 / 修图(编辑器移植自 iwb-plaus 扩展,纯 Canvas 2D)",
"ibwPlugin": {
"id": "image-annotate",
"entry": "src/index.js",
"apiVersion": 1
}
}