Fix some control issues
This commit is contained in:
@@ -60,12 +60,6 @@ public partial class InventoryMenu : Control, IInventoryMenu
|
||||
private IItemSlot _currentlySelectedItem = null;
|
||||
private bool _enableMenuSound = false;
|
||||
|
||||
public override void _EnterTree()
|
||||
{
|
||||
SetProcessInput(false);
|
||||
SetProcessUnhandledInput(false);
|
||||
}
|
||||
|
||||
public void OnResolved()
|
||||
{
|
||||
ItemSlots = [ItemSlot1, ItemSlot2, ItemSlot3, ItemSlot4, ItemSlot5, ItemSlot6, ItemSlot7, ItemSlot8, ItemSlot9, ItemSlot10, ItemSlot11, ItemSlot12, ItemSlot13, ItemSlot14, ItemSlot15, ItemSlot16, ItemSlot17, ItemSlot18, ItemSlot19, ItemSlot20];
|
||||
@@ -93,6 +87,7 @@ public partial class InventoryMenu : Control, IInventoryMenu
|
||||
DropButton.FocusEntered += ActionButtonFocusChanged;
|
||||
|
||||
VisibilityChanged += InventoryMenu_VisibilityChanged;
|
||||
SetProcessUnhandledInput(false);
|
||||
}
|
||||
|
||||
private void ActionButtonFocusChanged()
|
||||
|
||||
Reference in New Issue
Block a user