mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-30 11:11:53 +00:00
Add toggle link visibility button on canvas menu (#1070)
* Basic link visibility toggle * Icon change * nit * Update litegraph * nit * Add playwright test * Update test expectations [skip ci] --------- Co-authored-by: github-actions <github-actions@github.com>
This commit is contained in:
11
src/i18n.ts
11
src/i18n.ts
@@ -100,7 +100,8 @@ const messages = {
|
||||
zoomOut: 'Zoom Out',
|
||||
resetView: 'Reset View',
|
||||
selectMode: 'Select Mode',
|
||||
panMode: 'Pan Mode'
|
||||
panMode: 'Pan Mode',
|
||||
toggleLinkVisibility: 'Toggle Link Visibility'
|
||||
}
|
||||
},
|
||||
zh: {
|
||||
@@ -194,6 +195,14 @@ const messages = {
|
||||
upscale: '2 Pass Upscale',
|
||||
flux_schnell: 'Flux Schnell'
|
||||
}
|
||||
},
|
||||
graphCanvasMenu: {
|
||||
zoomIn: '放大',
|
||||
zoomOut: '缩小',
|
||||
resetView: '重置视图',
|
||||
selectMode: '选择模式',
|
||||
panMode: '平移模式',
|
||||
toggleLinkVisibility: '切换链接可见性'
|
||||
}
|
||||
}
|
||||
// TODO: Add more languages
|
||||
|
||||
Reference in New Issue
Block a user