瀏覽代碼

Fixed encyclopedia selection bug

James Peret 2 年之前
父節點
當前提交
705fbad9d4
共有 2 個文件被更改,包括 0 次插入2 次删除
  1. 0 1
      Runtime/Encyclopedia/EncyclopediaUi.cs
  2. 0 1
      Runtime/InteractionHandler/SelectedButton.cs

+ 0 - 1
Runtime/Encyclopedia/EncyclopediaUi.cs

@@ -139,7 +139,6 @@ namespace KairoEngine.UI.Encyclopedia
             }
             if(category.showSubMenu && !oldCategory.showSubMenu)
             {
-                Debug.Log("Last view was a list");
                 subMenuIndex = 0;
                 controller.subMenuIndex = 0;
                 subMenuButtonSelection[subMenuIndex].Select();

+ 0 - 1
Runtime/InteractionHandler/SelectedButton.cs

@@ -33,7 +33,6 @@ namespace KairoEngine.UI.InteractionHandler
             var btnStates = button.spriteState;
             btnStates.disabledSprite = selectedSprite;
             button.spriteState = btnStates;
-            isInteractable = button.interactable;
             button.interactable = false;
             
         }