From 1af4e46f89a1c1573bb81c46f2d5de7c42c8d6dd Mon Sep 17 00:00:00 2001 From: Devin Date: Tue, 16 Nov 2021 19:48:02 +0100 Subject: [PATCH] Fix list view switching to mouse controls --- Assets/Scripts/Shop/View/ShopView.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/Scripts/Shop/View/ShopView.cs b/Assets/Scripts/Shop/View/ShopView.cs index 2dca01a..c54f29d 100644 --- a/Assets/Scripts/Shop/View/ShopView.cs +++ b/Assets/Scripts/Shop/View/ShopView.cs @@ -158,7 +158,7 @@ public abstract class ShopView : MonoBehaviour else if (Input.GetMouseButtonUp(0)) { - if (shopController is GridViewKeyboardController) + if (shopController is GridViewKeyboardController || shopController is ListKeyboardController) { SwitchToMouseControl(); }