Skip to content

Commit

Permalink
add "add block" shortcut ui
Browse files Browse the repository at this point in the history
  • Loading branch information
YIXIAO0 committed Aug 23, 2024
1 parent 18b6159 commit 4fcb048
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/app/components/workflow/operator/add-block.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ const AddBlock = ({

const renderTriggerElement = useCallback((open: boolean) => {
return (
<TipPopup title={t('workflow.common.addBlock')}>
<TipPopup title={t('workflow.common.addBlock')} shortcuts={['shift', 'a']}>
<div className={cn(
'flex items-center justify-center w-8 h-8 rounded-lg hover:bg-black/5 hover:text-gray-700 cursor-pointer',
`${nodesReadOnly && '!cursor-not-allowed opacity-50'}`,
Expand Down

0 comments on commit 4fcb048

Please sign in to comment.