mirror of
https://github.com/finos/SymphonyElectron.git
synced 2024-12-27 17:31:36 -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}
|
||||
title={i18n.t('Pen', SNIPPING_TOOL_NAMESPACE)()}
|
||||
>
|
||||
<img src={PenIcon} />
|
||||
<img src={PenIcon} draggable={false} />
|
||||
</button>
|
||||
<button
|
||||
data-testid='highlight-button'
|
||||
@ -330,7 +330,7 @@ const SnippingTool: React.FunctionComponent<ISnippingToolProps> = ({
|
||||
onClick={useHighlight}
|
||||
title={i18n.t('Highlight', SNIPPING_TOOL_NAMESPACE)()}
|
||||
>
|
||||
<img src={HighlightIcon} />
|
||||
<img src={HighlightIcon} draggable={false} />
|
||||
</button>
|
||||
<button
|
||||
data-testid='erase-button'
|
||||
@ -339,7 +339,7 @@ const SnippingTool: React.FunctionComponent<ISnippingToolProps> = ({
|
||||
onClick={useEraser}
|
||||
title={i18n.t('Erase', SNIPPING_TOOL_NAMESPACE)()}
|
||||
>
|
||||
<img src={EraseIcon} />
|
||||
<img src={EraseIcon} draggable={false} />
|
||||
</button>
|
||||
</div>
|
||||
<div className='clear-actions'>
|
||||
|
Loading…
Reference in New Issue
Block a user