From 82fe77b06b9424d467f0b3575b236cb69bcc267b Mon Sep 17 00:00:00 2001 From: Sergey Ilyasov Date: Wed, 26 Jul 2023 14:05:24 +0200 Subject: [PATCH] bugfix --- Assets/MirageXR/Tests/NewUI/ActivityView_v2.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/MirageXR/Tests/NewUI/ActivityView_v2.cs b/Assets/MirageXR/Tests/NewUI/ActivityView_v2.cs index 56f8f96dc..2643e41aa 100644 --- a/Assets/MirageXR/Tests/NewUI/ActivityView_v2.cs +++ b/Assets/MirageXR/Tests/NewUI/ActivityView_v2.cs @@ -142,7 +142,7 @@ private void OnArrowButtonPressed() private IEnumerator ShowHorizontalScroll(float delay, bool value) { - if (_toggleSteps.isOn) + if (_toggleSteps.isOn && _stepsListView.gameObject.activeInHierarchy) { yield return new WaitForSeconds(delay);