From 89b3e9a7ff4a4c6b112ad1c372d032848ceda5b9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Tobias=20Sch=C3=B6ner?= <tobias.stonehead@gmail.com>
Date: Thu, 16 Feb 2023 12:52:06 +0100
Subject: [PATCH] fix: Andorid: FactExplorer will not open during drag

---
 Assets/Scripts/UI/FactExplorer/OpenFactExplorer.cs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Assets/Scripts/UI/FactExplorer/OpenFactExplorer.cs b/Assets/Scripts/UI/FactExplorer/OpenFactExplorer.cs
index c427ec04..e53a3ad7 100644
--- a/Assets/Scripts/UI/FactExplorer/OpenFactExplorer.cs
+++ b/Assets/Scripts/UI/FactExplorer/OpenFactExplorer.cs
@@ -35,7 +35,7 @@ private void Update()
     #region Implementation
     private void HandleTouches()
     {
-        if (Input.touchCount != 1)
+        if (Input.touchCount != 1 || transform.GetComponent<DragHandling>().dragged)
         {
             pressTime = 0;
             return;
-- 
GitLab