mirror of
https://github.com/basketikun/infinite-canvas.git
synced 2026-07-24 06:54:06 +08:00
feat(toolbar): update image toolbar tools visibility settings for better user experience
This commit is contained in:
@@ -2,6 +2,8 @@
|
||||
|
||||
## Unreleased
|
||||
|
||||
## v0.2.2 - 2026-06-04
|
||||
|
||||
+ [新增] 新增图片放大工具。
|
||||
+ [优化] 优化图片工具条,增加自定义功能。
|
||||
+ [修复] 修复端口冲突问题、pg/mysql未初始化问题。
|
||||
|
||||
@@ -60,7 +60,7 @@ export const imageToolDefinitions: ImageToolDefinition[] = [
|
||||
},
|
||||
{
|
||||
id: "resize",
|
||||
defaultVisible: true,
|
||||
defaultVisible: false,
|
||||
panelLabel: "锁比例",
|
||||
label: (node) => (node.metadata?.freeResize ? "自由比例" : "锁比例"),
|
||||
title: (node) => (node.metadata?.freeResize ? "切换为等比缩放" : "切换为自由比例"),
|
||||
@@ -88,7 +88,7 @@ export const imageToolDefinitions: ImageToolDefinition[] = [
|
||||
},
|
||||
{
|
||||
id: "superResolve",
|
||||
defaultVisible: true,
|
||||
defaultVisible: false,
|
||||
panelLabel: "超分",
|
||||
label: "超分",
|
||||
title: "AI 超分",
|
||||
@@ -97,7 +97,7 @@ export const imageToolDefinitions: ImageToolDefinition[] = [
|
||||
},
|
||||
{
|
||||
id: "angle",
|
||||
defaultVisible: true,
|
||||
defaultVisible: false,
|
||||
panelLabel: "多角度",
|
||||
label: "多角度",
|
||||
title: "生成角度",
|
||||
|
||||
Reference in New Issue
Block a user