mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-14 21:27:20 +00:00
fix(core): correct image action icon (#7370)
fix AF-1002 
This commit is contained in:
@@ -432,7 +432,7 @@ export function buildAIImageItemGroups(): AIItemGroupConfig[] {
|
||||
items: [
|
||||
{
|
||||
name: 'Explain this image',
|
||||
icon: ExplainIcon,
|
||||
icon: AIImageIcon,
|
||||
showWhen: () => true,
|
||||
handler: actionToHandler(
|
||||
'explainImage',
|
||||
@@ -457,14 +457,6 @@ export function buildAIImageItemGroups(): AIItemGroupConfig[] {
|
||||
blockActionTrackerOptions
|
||||
),
|
||||
},
|
||||
{
|
||||
name: 'AI image filter',
|
||||
icon: ImproveWritingIcon,
|
||||
showWhen: () => true,
|
||||
subItem: createImageFilterSubItem(blockActionTrackerOptions),
|
||||
subItemOffset: [12, -4],
|
||||
beta: true,
|
||||
},
|
||||
{
|
||||
name: 'Image processing',
|
||||
icon: AIImageIcon,
|
||||
@@ -473,6 +465,14 @@ export function buildAIImageItemGroups(): AIItemGroupConfig[] {
|
||||
subItemOffset: [12, -6],
|
||||
beta: true,
|
||||
},
|
||||
{
|
||||
name: 'AI image filter',
|
||||
icon: ImproveWritingIcon,
|
||||
showWhen: () => true,
|
||||
subItem: createImageFilterSubItem(blockActionTrackerOptions),
|
||||
subItemOffset: [12, -4],
|
||||
beta: true,
|
||||
},
|
||||
{
|
||||
name: 'Generate a caption',
|
||||
icon: AIPenIcon,
|
||||
|
||||
Reference in New Issue
Block a user