Files
image-workbench-desktop/src-tauri/tauri.conf.json
T
qiqi 540da6deba fix(dock/gallery): 图库图幅自适应重做 + 左右栏快捷键 n/t + 面板层级与滚轮修正 v3.25.38
- 图库列数改为按「面板宽 / 图幅」计算(图幅可选 110/130/170/220,默认 130,持久化),
  同一图幅下列宽稳定、只靠增减列数适应面板宽度;去掉 460px 上下限(竖图不再被 letterbox 缩成小图)
- 图库头部 flex-wrap:窄面板自动两行,按钮不被挤压
- n = 右栏开合、t = 左栏开合;顶栏「图库」按钮与其快捷键一并下线(帮助/设置文案同步)
- 左右栏从标签条下方开始(top:36px),标签条恢复满宽并压在面板之上;首页/落地页隐藏停靠栏
  (原生子 webview 因 rect 归零被 park,不再盖住首页)
- 停靠栏在 .iwb-canvas 内 ⇒ 面板根节点吞掉 wheel/pointerdown/contextmenu,画布 wheel 白名单补
  .iwb-dock;图库网格 overscroll-behavior:contain
- 图库宽度测量改为可重挂(面板延迟挂载时不再固定按 300 计算列宽)
2026-11-20 06:44:16 +08:00

55 lines
1.8 KiB
JSON

{
"$schema": "../node_modules/@tauri-apps/cli/config.schema.json",
"productName": "image-workbench",
"version": "3.25.38",
"identifier": "com.malongan.imageworkbench",
"build": {
"frontendDist": "../dist",
"beforeDevCommand": "npm run build",
"beforeBuildCommand": "npm run lint && npm run build && node scripts/strip-plugins.js"
},
"app": {
"withGlobalTauri": true,
"windows": [
{
"label": "main",
"title": "无限画布",
"width": 1440,
"height": 900,
"minWidth": 1024,
"minHeight": 640,
"resizable": true,
"fullscreen": false,
"center": true,
"dragDropEnabled": false
}
],
"security": {
"csp": "default-src 'self'; script-src 'self' blob:; worker-src 'self' blob:; style-src 'self' 'unsafe-inline'; img-src 'self' data: blob: https:; font-src 'self' data:; connect-src 'self' ipc: http://ipc.localhost https: blob: data: http://127.0.0.1:30092 http://localhost:30092; object-src 'none'; base-uri 'none'; frame-ancestors 'none'"
}
},
"bundle": {
"active": true,
"targets": "all",
"category": "GraphicsAndDesign",
"shortDescription": "无限画布 · 生图工作台",
"longDescription": "节点式无限画布,本地编排与生成图片,支持系统原生另存为。",
"icon": [
"icons/32x32.png",
"icons/128x128.png",
"icons/[email protected]",
"icons/icon.icns",
"icons/icon.ico"
],
"createUpdaterArtifacts": true
},
"plugins": {
"updater": {
"endpoints": [
"https://download.maqiart.eu.org/updates/latest.json"
],
"pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IDE3QUU1N0QwQUM5RjE1RjEKUldUeEZaK3MwRmV1RnhjNVhhSlhaSHkvbVRXNDdscHpOa0s0VHF4NHBBQVJBdDQ0dEVlck5FeEsK"
}
}
}