fix(image-annotate): v1.17.1 无描边后再点无填充会把对象弄隐形,改为自动恢复描边

This commit is contained in:
qiqi committed 2026-11-09 18:11:10 +08:00
1 parent 3baa76d0cd
commit 352a7668d7
6 files changed
+32 -5

No files matched your search

+5 -1
View File
@@ -9,7 +9,7 @@
var __IWB_ANNOTATE_MANIFEST__ = {
id: 'image-annotate',
name: '标注 / 修图',
version: '1.17.0',
version: '1.17.1',
apiVersion: 1,
capabilities: ['commands', 'nodeActions', 'canvas', 'canvasWrite'],
settings: {
@@ -5925,6 +5925,10 @@ var __IWB_ANNOTATE_MANIFEST__ = {
if (sh && !sh.locked && sh.fill) {
if (!skipHistory) saveSnapshot("无填充");
sh.fill = false;
if (sh.strokeOn === false) {
sh.strokeOn = true;
S.shapeStrokeOn = true;
}
renderObjects();
}
updateColorUI();