mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-16 02:56:09 -04:00
Alt+Click in inventory menu should not close the menu (Thanks FabTheZen), closes #163.
This commit is contained in:
parent
0866009fef
commit
1934749aa1
@ -45,7 +45,10 @@ namespace ClassicalSharp.Gui {
|
||||
game.Inventory.HeldBlock = blocksTable[selIndex];
|
||||
else if( Contains( TableX, TableY, TableWidth, TableHeight, mouseX, mouseY ) )
|
||||
return true;
|
||||
game.SetNewScreen( null );
|
||||
|
||||
bool hotbar = game.IsKeyDown( Key.AltLeft ) || game.IsKeyDown( Key.AltRight );
|
||||
if( !hotbar )
|
||||
game.SetNewScreen( null );
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user