From 285a29c6dd0e6ccaf00e9798f42b63c70f60de71 Mon Sep 17 00:00:00 2001 From: Devin Braune Date: Sun, 7 Feb 2021 03:15:12 +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(); }