release: v3.26.90 相册 1.1.4 hover 加强
This commit is contained in:
1 parent
ed581a8089
commit
de1b007d0d
8 files changed
+24
-11
No files matched your search
@@ -16,6 +16,13 @@
|
||||
> 3. 核验正式地址版本 → 之后才移动 `stable` / `stable-verified-<日期>` 标签、更新本 CHANGELOG、写 GitHub Release(`gh release create`)。
|
||||
> 测试发现问题 → 改 → 再 `deploy:test`,正式环境不受影响。回滚点 `git reset --hard stable`。
|
||||
|
||||
## v3.26.90(2026-11-26)相册 1.1.4:hover 加强到 1.08 + 深阴影 + 2px 描边
|
||||
|
||||
- 相册格子 hover(用户反馈 1.06 不明显):缩放 **1.06 → 1.08**;投影改为两层(`0 10px 26px .42` + `0 2px 6px .28`);描边 **2px 品牌色**(用 `outline` 内缩,不改变 border 宽度,图片内容不会被挤动)。
|
||||
- **仍然不做位移**:网格里 translateY 会让相邻格的 hover 判定抖动;只做缩放/描边/阴影。选中态(1px)与 hover(2px)叠加时以 hover 为准。
|
||||
- 层级走宿主 `--iwb-z-ctx` token(插件禁止裸值),并被宫格容器的 `overflow:hidden` 限制在节点内;`prefers-reduced-motion` 下取消缩放与过渡。
|
||||
- 插件市场 **album 1.1.4** 已上架(59,308 B);本版客户端内置副本同步,未更新插件的用户也能生效。
|
||||
|
||||
## v3.26.89(2026-11-26)生成即落盘根治:桌面端强制保留原图
|
||||
|
||||
- **桌面端不再受「入库时同时保留原图」开关限制**:每张新图生成后立刻把原图字节写进资料目录 `images/gallery/`(缩略图另存 `images/thumbs/`)。图床链接会过期,只有本地字节可靠。
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "image-workbench-web",
|
||||
"private": true,
|
||||
"version": "3.26.89",
|
||||
"version": "3.26.90",
|
||||
"description": "Browser-based node canvas image workbench",
|
||||
"scripts": {
|
||||
"build": "node scripts/build.js && node scripts/copy-plugins.js",
|
||||
|
||||
@@ -812,7 +812,7 @@
|
||||
global.IWBPluginHost.register({
|
||||
id: 'album',
|
||||
name: '相册',
|
||||
version: '1.1.3',
|
||||
version: '1.1.4',
|
||||
apiVersion: 1,
|
||||
capabilities: ['nodeTypes', 'images', 'files'],
|
||||
settings: {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"id": "album",
|
||||
"name": "相册",
|
||||
"version": "1.1.3",
|
||||
"version": "1.1.4",
|
||||
"apiVersion": 1,
|
||||
"main": "main.js",
|
||||
"style": "styles.css",
|
||||
@@ -14,7 +14,7 @@
|
||||
"出图"
|
||||
],
|
||||
"files": {
|
||||
"main.js": "bc5f999f65db73cff167c140b49f8fb7bfc1233d7ec59f1280fa464c17a0df82",
|
||||
"styles.css": "b61e806abee9dd8889aa1a12c8791d428feacab93fac64f89c18c589de390706"
|
||||
"main.js": "7e092c7b38842661fde9bd301306609b38f3927c7025d97f4ab29bfc04683914",
|
||||
"styles.css": "f8af2310bc5fe099f726f05b5234f928fe31a651f2143c96c88e474b9797fdf7"
|
||||
}
|
||||
}
|
||||
@@ -29,7 +29,13 @@
|
||||
竖图撑到 167px,和 capacityOf() 按方形算的容量是两套账(最后一行常被裁一半)。
|
||||
aspect-ratio 让每一格高 = 宽,容量因此可精确预测,宫格也终于整齐。
|
||||
padding:0 必须显式写:<button> 的 UA 默认内边距会把图顶出边框。 */
|
||||
.iwb-album-cell { position: relative; aspect-ratio: 1 / 1; padding: 0; border-radius: var(--iwb-radius-chip); overflow: hidden; background: color-mix(in srgb, var(--iwb-border) 55%, transparent); border: 1px solid var(--iwb-border); cursor: grab; }
|
||||
.iwb-album-cell { position: relative; aspect-ratio: 1 / 1; padding: 0; border-radius: var(--iwb-radius-chip); overflow: hidden; background: color-mix(in srgb, var(--iwb-border) 55%, transparent); border: 1px solid var(--iwb-border); cursor: grab; transition: transform var(--iwb-motion-hover, .15s) var(--iwb-ease-hover, ease-out), box-shadow var(--iwb-motion-hover, .15s) var(--iwb-ease-hover, ease-out); }
|
||||
/* 1.1.4(用户:1.06 太不明显):放大到 1.08 + 更深的投影 + 2px 品牌描边。
|
||||
网格内**不做位移**(translateY 会让相邻格的 hover 判定抖动);描边用 outline 而不是加粗 border,
|
||||
避免图片内容被 1px 的 border 变化挤动。z-index 走宿主层级 token(插件禁止裸值),
|
||||
且被 .iwb-album-grid 的 overflow:hidden 限制在节点内。 */
|
||||
.iwb-album-cell:hover { transform: scale(1.08); outline: 2px solid var(--iwb-hover-border, var(--iwb-brand)); outline-offset: -2px; box-shadow: 0 10px 26px rgba(0, 0, 0, .42), 0 2px 6px rgba(0, 0, 0, .28); z-index: var(--iwb-z-ctx, 90); }
|
||||
@media (prefers-reduced-motion: reduce) { .iwb-album-cell { transition: none; } .iwb-album-cell:hover { transform: none; } }
|
||||
.iwb-album-cell img { width: 100%; height: 100%; object-fit: cover; display: block; -webkit-user-drag: none; }
|
||||
.iwb-album-cell.off img { opacity: .38; }
|
||||
/* 选中线 2px → 1px(用户:太粗)。1px 在浅底上仍分得清「选中」与「描边」。 */
|
||||
|
||||
+3
-3
@@ -4,10 +4,10 @@
|
||||
"dir": "album",
|
||||
"main": "main.js",
|
||||
"style": "styles.css",
|
||||
"version": "1.1.3",
|
||||
"version": "1.1.4",
|
||||
"files": {
|
||||
"main.js": "bc5f999f65db73cff167c140b49f8fb7bfc1233d7ec59f1280fa464c17a0df82",
|
||||
"styles.css": "b61e806abee9dd8889aa1a12c8791d428feacab93fac64f89c18c589de390706"
|
||||
"main.js": "7e092c7b38842661fde9bd301306609b38f3927c7025d97f4ab29bfc04683914",
|
||||
"styles.css": "f8af2310bc5fe099f726f05b5234f928fe31a651f2143c96c88e474b9797fdf7"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "image-workbench"
|
||||
version = "3.26.89"
|
||||
version = "3.26.90"
|
||||
description = "无限画布 · 生图工作台桌面版"
|
||||
authors = ["malongan"]
|
||||
license = ""
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$schema": "../node_modules/@tauri-apps/cli/config.schema.json",
|
||||
"productName": "image-workbench",
|
||||
"version": "3.26.89",
|
||||
"version": "3.26.90",
|
||||
"identifier": "com.malongan.imageworkbench",
|
||||
"build": {
|
||||
"frontendDist": "../dist",
|
||||
|
||||
Reference in new issue
Block a user