From 557bf63b55878f60eda8355f5b4061295f821df4 Mon Sep 17 00:00:00 2001
From: Alexander Rose <alexander.rose@weirdbyte.de>
Date: Tue, 25 Apr 2023 21:03:50 -0700
Subject: [PATCH] prevent dragging of snapshot images

---
 src/mol-plugin-ui/state/snapshots.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mol-plugin-ui/state/snapshots.tsx b/src/mol-plugin-ui/state/snapshots.tsx
index 78c554dbc..e24a8ef84 100644
--- a/src/mol-plugin-ui/state/snapshots.tsx
+++ b/src/mol-plugin-ui/state/snapshots.tsx
@@ -187,7 +187,7 @@ export class LocalStateSnapshotList extends PluginUIComponent<{}, {}> {
             if (image) {
                 items.push(<li key={`${e!.snapshot.id}-image`} className='msp-state-image-row'>
                     <Button data-id={e!.snapshot.id} onClick={this.apply}>
-                        <img src={URL.createObjectURL(image)}/>
+                        <img draggable={false} src={URL.createObjectURL(image)}/>
                     </Button>
                 </li>);
             }
-- 
GitLab