fix(trace viewer): make screenshot undraggable

This commit is contained in:
Simon Knott 2024-10-14 14:00:40 +02:00
parent 0a63427c77
commit 8b4a73981b
No known key found for this signature in database
GPG key ID: 8CEDC00028084AEC

View file

@ -219,7 +219,7 @@ export const ScreenshotView: React.FunctionComponent<{
{screencastFrame && ( {screencastFrame && (
<> <>
{point && <ClickPointer point={point} />} {point && <ClickPointer point={point} />}
<img alt={`Screenshot of ${action?.apiName}`} src={`sha1/${screencastFrame.sha1}`} width={screencastFrame.width} height={screencastFrame.height} /> <img alt={`Screenshot of ${action?.apiName}`} src={`sha1/${screencastFrame.sha1}`} width={screencastFrame.width} height={screencastFrame.height} draggable={false} />
</> </>
)} )}
</SnapshotWrapper>; </SnapshotWrapper>;