mirror of
https://github.com/finos/SymphonyElectron.git
synced 2024-12-29 02:11:28 -06:00
SDA-4010 Prevent icons drag
This commit is contained in:
parent
6728c9ca49
commit
f275a28baa
@ -321,7 +321,7 @@ const SnippingTool: React.FunctionComponent<ISnippingToolProps> = ({
|
|||||||
onClick={usePen}
|
onClick={usePen}
|
||||||
title={i18n.t('Pen', SNIPPING_TOOL_NAMESPACE)()}
|
title={i18n.t('Pen', SNIPPING_TOOL_NAMESPACE)()}
|
||||||
>
|
>
|
||||||
<img src={PenIcon} />
|
<img src={PenIcon} draggable={false} />
|
||||||
</button>
|
</button>
|
||||||
<button
|
<button
|
||||||
data-testid='highlight-button'
|
data-testid='highlight-button'
|
||||||
@ -330,7 +330,7 @@ const SnippingTool: React.FunctionComponent<ISnippingToolProps> = ({
|
|||||||
onClick={useHighlight}
|
onClick={useHighlight}
|
||||||
title={i18n.t('Highlight', SNIPPING_TOOL_NAMESPACE)()}
|
title={i18n.t('Highlight', SNIPPING_TOOL_NAMESPACE)()}
|
||||||
>
|
>
|
||||||
<img src={HighlightIcon} />
|
<img src={HighlightIcon} draggable={false} />
|
||||||
</button>
|
</button>
|
||||||
<button
|
<button
|
||||||
data-testid='erase-button'
|
data-testid='erase-button'
|
||||||
@ -339,7 +339,7 @@ const SnippingTool: React.FunctionComponent<ISnippingToolProps> = ({
|
|||||||
onClick={useEraser}
|
onClick={useEraser}
|
||||||
title={i18n.t('Erase', SNIPPING_TOOL_NAMESPACE)()}
|
title={i18n.t('Erase', SNIPPING_TOOL_NAMESPACE)()}
|
||||||
>
|
>
|
||||||
<img src={EraseIcon} />
|
<img src={EraseIcon} draggable={false} />
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<div className='clear-actions'>
|
<div className='clear-actions'>
|
||||||
|
Loading…
Reference in New Issue
Block a user