feat(image-annotate): v1.2.11 选中框手柄/旋转手柄/顶栏与选项栏打磨
- 缩放手柄 17px→11px(形状/文字/位图/放置四处统一),命中半径同步收小 - 旋转手柄重绘:细弧+末端小箭头(旋转语义更直观),线更细、色 #f0b34e - Shift+X 切换选中形状 描边/实心(箭头无实心给提示);isTyping 放行 Shift 组合键, 参数数字框里按 Shift+X 不再被吞 - 硬度:滑杆 84→140px + 5 个快捷点(0/25/50/75/100);笔刷推荐大小 7→4 个 - 顶栏:标题在最前,新建/覆盖/退出跟其后且三键统一中性色;标题后与撤销组后各加竖分隔 - harness 更新/新增断言(115 项全绿)
This commit is contained in:
1 parent
0d161d6ded
commit
c176744846
10 files changed
+153
-59
No files matched your search
@@ -1546,6 +1546,9 @@
|
||||
border: 1px solid #45475a; border-radius: 4px;
|
||||
}
|
||||
.iwb-editor-optionbar-body .iwb-editor-size-input:focus { outline: none; border-color: #4488ff; }
|
||||
/* 硬度滑杆加宽:参数太密时默认 84px 拉不开,用户反馈「软度调节不明显」(2026-11-04) */
|
||||
.iwb-editor-optionbar-body .iwb-opt-range-wide { width: 140px; }
|
||||
.iwb-editor-optionbar-body .iwb-opt-dots { margin-left: 2px; }
|
||||
.iwb-editor-optionbar-body .iwb-editor-size-input::-webkit-inner-spin-button { -webkit-appearance: none; }
|
||||
.iwb-editor-optionbar-body .iwb-editor-crop-confirm,
|
||||
.iwb-editor-optionbar-body .iwb-editor-crop-cancel {
|
||||
@@ -1589,10 +1592,19 @@
|
||||
.iwb-opt-selcmd:hover { background: #45475a; }
|
||||
|
||||
/* ================================================================
|
||||
v1.2.9:顶栏「新建/覆盖/退出」移到最左(用户裁定 2026-11-04)
|
||||
布局:⟨新建·覆盖·退出⟩ 标题 | 撤销·重做·还原 | 顺序·视图 | …… | 输出·导出
|
||||
会话组不设 order(默认 0 且是 header 第一个子元素)→ 与标题同序时按 DOM 排最前
|
||||
v1.2.11:顶栏次序与配色(用户裁定 2026-11-04 晚)
|
||||
布局:标题 | ⟨新建·覆盖·退出⟩ | 撤销·重做·还原 | 顺序·视图 | …… | 输出·导出
|
||||
标题在前(它是标题,不能跑到按钮后面);会话组三键统一中性色,不再花
|
||||
================================================================ */
|
||||
.iwb-editor-header > .iwb-editor-session { display: flex; align-items: center; gap: 6px; flex: 0 0 auto; }
|
||||
.iwb-editor-header > .iwb-editor-title { order: 0; }
|
||||
.iwb-editor-header > .iwb-editor-session { order: 1; display: flex; align-items: center; gap: 6px; flex: 0 0 auto; margin-left: 8px; }
|
||||
.iwb-editor-header > .iwb-editor-session .iwb-editor-btn { padding: 6px 10px; font-size: 11px; min-width: 56px; white-space: nowrap; }
|
||||
.iwb-editor-header > .iwb-editor-session .iwb-editor-btn-download { min-width: 72px; }
|
||||
.iwb-editor-header > .iwb-editor-session .iwb-editor-btn-new,
|
||||
.iwb-editor-header > .iwb-editor-session .iwb-editor-btn-replace,
|
||||
.iwb-editor-header > .iwb-editor-session .iwb-editor-btn-cancel { background: #45475a; color: #cdd6f4; }
|
||||
.iwb-editor-header > .iwb-editor-session .iwb-editor-btn-new:hover,
|
||||
.iwb-editor-header > .iwb-editor-session .iwb-editor-btn-replace:hover,
|
||||
.iwb-editor-header > .iwb-editor-session .iwb-editor-btn-cancel:hover { background: #585b70; }
|
||||
/* 标题与会话组之间、撤销组与命令带之间的竖分隔 */
|
||||
.iwb-editor-header > .iwb-editor-session { margin-right: 4px; }
|
||||
.iwb-editor-header > .iwb-editor-divider { width: 1px; height: 20px; background: #313244; flex: 0 0 auto; margin: 0 4px; }
|
||||
Reference in new issue
Block a user