diff --git a/image-annotate/package.json b/image-annotate/package.json index da7e848..541498a 100644 --- a/image-annotate/package.json +++ b/image-annotate/package.json @@ -1,7 +1,7 @@ { "name": "@iwb-plugin/image-annotate", "private": true, - "version": "1.2.2", + "version": "1.2.3", "description": "IWB 插件:图片标注 / 修图(编辑器移植自 iwb-plaus 扩展,纯 Canvas 2D)", "ibwPlugin": { "id": "image-annotate", diff --git a/image-annotate/plugin/editor.css b/image-annotate/plugin/editor.css index c315c85..8a80359 100755 --- a/image-annotate/plugin/editor.css +++ b/image-annotate/plugin/editor.css @@ -1318,7 +1318,9 @@ /* 顶部左右两组工具交换:左=新建/覆盖/退出,右=撤销/重做/清空/复原 */ .iwb-editor-header > .iwb-editor-title { order: 0; } -.iwb-editor-header > .iwb-editor-export-actions { order: 1; margin-left: 0; margin-right: 4px; } +/* 输出设定 + 下载/新建/覆盖/退出 收在顶栏最右侧(用户裁定 2026-11-04): + order 排最后 + margin-left:auto 兜底,中间工具区 flex:1 会把它顶到右端 */ +.iwb-editor-header > .iwb-editor-export-actions { order: 9; margin-left: auto; margin-right: 0; flex: 0 0 auto; } .iwb-editor-header > .iwb-editor-tools { order: 2; flex: 1 1 auto; justify-content: center; } .iwb-editor-header > .iwb-editor-history { order: 3; margin-left: 0; } @@ -1540,3 +1542,7 @@ .iwb-editor-optionbar-body .iwb-editor-crop-confirm:hover { background: #15803d; } .iwb-editor-optionbar-body .iwb-editor-crop-cancel { background: #cf222e; color: #fff; } .iwb-editor-optionbar-body .iwb-editor-crop-cancel:hover { background: #b91c1c; } + +/* ---- v1.2.3:侧栏只留调色板 + 缩放 ---- */ +/* 笔刷粗细/快捷点从侧栏移除后,缩放条直接挂在 aside 下:贴底,与调色板拉开距离 */ +.iwb-editor-left > .iwb-editor-zoom { margin-top: auto; border-top: 1px solid #313244; padding-top: 10px; } diff --git a/image-annotate/plugin/editor/dom.js b/image-annotate/plugin/editor/dom.js index 20f6e13..0cf1501 100644 --- a/image-annotate/plugin/editor/dom.js +++ b/image-annotate/plugin/editor/dom.js @@ -164,24 +164,8 @@ import { bindEvents } from './events.js'