(54ae135f5) Items can be dragged and dropped directly from the inventory into containers without having to select the container first.

This commit is contained in:
Joonas Rikkonen
2019-03-28 18:11:40 +02:00
parent a351ffcbda
commit f51c9c14df
7 changed files with 102 additions and 12 deletions
@@ -248,7 +248,7 @@ namespace Barotrauma
scale: scale);
}
if (!GUI.DisableItemHighlights)
if (!GUI.DisableItemHighlights && !Inventory.DraggingItemToWorld)
{
var hudTexts = focusedItem.GetHUDTexts(character);