From f9ea5d5cf08346e2701e5ea254beb46cd8e5a9c6 Mon Sep 17 00:00:00 2001 From: qiqi Date: Tue, 1 Dec 2026 01:25:07 +0800 Subject: [PATCH] =?UTF-8?q?fix(ui):=20=E8=8A=82=E7=82=B9/=E6=B5=AE?= =?UTF-8?q?=E5=B1=82=E4=B8=8D=E5=86=8D=E7=9B=96=E4=BD=8F=E9=A1=B6=E9=83=A8?= =?UTF-8?q?=20tab=20=E6=A0=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 5 +++++ package.json | 2 +- src-tauri/Cargo.toml | 2 +- src-tauri/tauri.conf.json | 2 +- style.css | 2 +- 5 files changed, 9 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d90635b..9a1c25b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,11 @@ > 3. 核验正式地址版本 → 之后才移动 `stable` / `stable-verified-<日期>` 标签、更新本 CHANGELOG、写 GitHub Release(`gh release create`)。 > 测试发现问题 → 改 → 再 `deploy:test`,正式环境不受影响。回滚点 `git reset --hard stable`。 +## v3.26.151(2026-12-01)修复节点/浮层盖住顶部 tab 栏 + +- `.iwb-world` 增加 `z-index: 1` 形成画布内部 stacking context; +- 节点及其内部高 z-index 浮层不再越过 `.iwb-tabstrip`(z36)/顶栏(z35); +- 画布外层面板(工具栏/停靠栏/弹窗)不受影响。 ## v3.26.150(2026-12-01)停止 Canvas V3 实验,回到 DOM 渲染 - **Canvas V3 实验停止**:移除诊断开关与产品入口;新增 kill switch,旧用户即使 localStorage 里还留有 `iwb_canvas_v3=1`,升级后也强制回 DOM。 diff --git a/package.json b/package.json index f01bc4f..0b8630c 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "image-workbench-web", "private": true, - "version": "3.26.150", + "version": "3.26.151", "description": "Browser-based node canvas image workbench", "scripts": { "build": "node scripts/build.js && node scripts/copy-plugins.js", diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index faa818e..4a3ba08 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "image-workbench" -version = "3.26.150" +version = "3.26.151" description = "无限画布 · 生图工作台桌面版" authors = ["malongan"] license = "" diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 2f9859b..c1b46bc 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -1,7 +1,7 @@ { "$schema": "../node_modules/@tauri-apps/cli/config.schema.json", "productName": "image-workbench", - "version": "3.26.150", + "version": "3.26.151", "identifier": "com.malongan.imageworkbench", "build": { "frontendDist": "../dist", diff --git a/style.css b/style.css index 70e19c9..5ab459a 100644 --- a/style.css +++ b/style.css @@ -30,7 +30,7 @@ button { font-family: inherit; } .iwb-grid { position: absolute; inset: 0; pointer-events: none; background-repeat: repeat; background-image: radial-gradient(circle, var(--iwb-grid-dot) var(--iwb-grid-size), transparent calc(var(--iwb-grid-size) + 0.4px)); background-size: var(--iwb-grid-gap) var(--iwb-grid-gap); opacity: calc(0.85 * var(--iwb-grid-on)); } /* 亮色主题:网格点更浅,降低与背景对比度(暗色主题不受影响) */ -.iwb-world { position: absolute; left: 0; top: 0; transform-origin: 0 0; } +.iwb-world { position: absolute; left: 0; top: 0; transform-origin: 0 0; z-index: 1; } .iwb-edges { position: absolute; left: 0; top: 0; pointer-events: none; } .iwb-edge-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; } .iwb-node-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }