- 根因:setTool() 切工具时无差别清掉 selectedShapeId/selectedTextId/selectedLayerId, 选中形状按 I 切吸管时选中态当场丢失,applyColorChange 找不到对象,颜色只写进画笔色 - 修复:picker 作为临时工具保留选中态(与 select 同级白名单);exitPicker 按落回的工具用 同一套规则清理,避免画笔工具下残留选中框 - 吸管提示文案补充「选中形状/文字时取色直接改它的颜色」 - __debug().shapes 补 color 字段;harness 新增 1 项回归断言(114 项全绿)
12 lines
296 B
JSON
12 lines
296 B
JSON
{
|
||
"name": "@iwb-plugin/image-annotate",
|
||
"private": true,
|
||
"version": "1.2.10",
|
||
"description": "IWB 插件:图片标注 / 修图(编辑器移植自 iwb-plaus 扩展,纯 Canvas 2D)",
|
||
"ibwPlugin": {
|
||
"id": "image-annotate",
|
||
"entry": "src/index.js",
|
||
"apiVersion": 1
|
||
}
|
||
}
|