From 008c99b017137d9c9b8a91f250cad194a234a6c9 Mon Sep 17 00:00:00 2001 From: Theo Sanderson Date: Thu, 12 Dec 2024 19:43:54 +0000 Subject: [PATCH] fixup --- gensplore-component/src/components/GensploreView.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gensplore-component/src/components/GensploreView.jsx b/gensplore-component/src/components/GensploreView.jsx index 223a0ce..d4b1111 100644 --- a/gensplore-component/src/components/GensploreView.jsx +++ b/gensplore-component/src/components/GensploreView.jsx @@ -347,7 +347,7 @@ if (hit1 === -1) { }; const copySelectedSequence = (asReverseComplement = false) => { - if (!whereMouseWentDown || !whereMouseWentUp) return; + if (whereMouseWentDown===null || whereMouseWentUp===null) return; const selStart = Math.min(whereMouseWentDown, whereMouseWentUp); const selEnd = Math.max(whereMouseWentDown, whereMouseWentUp);