Skip to content

Commit

Permalink
Merge pull request #17 from Loren-Wang/dev/chagneUi
Browse files Browse the repository at this point in the history
关闭h5保存按钮
  • Loading branch information
FocusOnWrittingBug authored Jul 11, 2024
2 parents 0fc6f01 + 73b9960 commit 4368331
Showing 1 changed file with 23 additions and 23 deletions.
46 changes: 23 additions & 23 deletions src/gallery/classroom/whiteboard/toolbar/hooks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,18 +58,18 @@ export const useVisibleTools = () => {
{
renderItem: ({ offset }: { offset?: number } = {}) => <ShapePickerItem offset={offset} />,
},
{
renderItem: () => (
<ToolbarItem
tooltipPlacement={toolbarDockPosition.placement === 'left' ? 'right' : 'left'}
tooltip={transI18n('fcr_board_tool_save')}
texttip={'Save png'}
icon={SvgIconEnum.FCR_WHITEBOARD_SAVE}
onClick={saveDraft}
isActive={false}
/>
),
},
// {
// renderItem: () => (
// <ToolbarItem
// tooltipPlacement={toolbarDockPosition.placement === 'left' ? 'right' : 'left'}
// tooltip={transI18n('fcr_board_tool_save')}
// texttip={'Save png'}
// icon={SvgIconEnum.FCR_WHITEBOARD_SAVE}
// onClick={saveDraft}
// isActive={false}
// />
// ),
// },
{
renderItem: () => {
return (
Expand Down Expand Up @@ -116,17 +116,17 @@ export const useVisibleTools = () => {
<ShapePickerItem offset={offset || -1} />
),
},
{
renderItem: () => (
<ToolbarItem
tooltip={transI18n('fcr_board_tool_save')}
texttip={transI18n('fcr_board_tool_save')}
icon={SvgIconEnum.FCR_WHITEBOARD_SAVE}
onClick={saveDraft}
isActive={false}
/>
),
},
// {
// renderItem: () => (
// <ToolbarItem
// tooltip={transI18n('fcr_board_tool_save')}
// texttip={transI18n('fcr_board_tool_save')}
// icon={SvgIconEnum.FCR_WHITEBOARD_SAVE}
// onClick={saveDraft}
// isActive={false}
// />
// ),
// },
{
renderItem: () => {
const dialogToogle = (bool: boolean) => {
Expand Down

0 comments on commit 4368331

Please sign in to comment.