feat(image-annotate): 1.2.0 非破坏性裁剪(可撤销/不 flatten)+ 工具参数解耦与就地选项栏

This commit is contained in:
qiqi committed 2026-11-04 18:30:54 +08:00
1 parent a4e89f5f8b
commit d8e4e0cb26
13 files changed
+1768 -1243

No files matched your search

+17
View File
@@ -1485,3 +1485,20 @@
opacity: 0.32; cursor: not-allowed; text-decoration: line-through;
}
.iwb-editor-export-settings [data-export-key]:disabled:hover { background: #313244; }
/* 选项栏参数控件(v1.2):滑杆 + 数字框 + 实时读数,一行放得下就该保持一行 */
.iwb-opt-range {
width: 84px; height: 4px; flex: 0 0 auto;
accent-color: #4488ff; cursor: pointer;
}
.iwb-opt-val {
min-width: 32px; flex: 0 0 auto; color: #e8a735; font-size: 11px;
font-variant-numeric: tabular-nums; text-align: right;
}
.iwb-opt-unit { color: #7f849c; font-size: 11px; flex: 0 0 auto; }
/* 窄屏:参数多到放不下时横向滚动,不换行(换行会把 36px 高的选项栏撑开压画布) */
.iwb-editor-optionbar-body { overflow-x: auto; scrollbar-width: none; }
.iwb-editor-optionbar-body::-webkit-scrollbar { display: none; }
@media (max-width: 1100px) {
.iwb-opt-range { width: 64px; }
}