feat(image-annotate): v1.16.0 右栏常驻调色面板 + 可拖宽度 + 字号提升一档

This commit is contained in:
qiqi committed 2026-11-09 17:36:44 +08:00
1 parent 6a14f900df
commit a477705c7f
12 files changed
+2983 -238

No files matched your search

+3
View File
@@ -53,6 +53,9 @@
// 色板(调色器 / 吸管 / 推荐色 / hex)按这个值决定写 S.color 还是 shapeFillColor,
// 否则「三个地方各调各的颜色」会一直存在。
colorTarget: 'stroke', // stroke | fill
// v1.16:右侧栏宽度(px)。0 = 按默认值走,打开编辑器时从宿主 KV 恢复。
// 宽度统一落在 CSS 变量 --iwb-side-w 上,不再各条规则各写一个魔数。
sideWidth: 0,
textSize: 32, // 新建文字的字号 px
// ---- v1.9 文字样式:这套是「新建文字」的默认值,每段文字自己存一份 ----
textWeight: 'bold', // bold | normal | 900