Increase dragging dead zone (#7416)

This commit is contained in:
Leon Friedrich
2022-04-09 09:17:52 +12:00
committed by GitHub
parent 7900abb888
commit bec0b63dc1
4 changed files with 25 additions and 7 deletions

View File

@@ -210,7 +210,8 @@ namespace Content.Client.Actions.UI
_slots[i] = slot;
}
DragDropHelper = new DragDropHelper<ActionSlot>(OnBeginActionDrag, OnContinueActionDrag, OnEndActionDrag, DragDeadZone);
DragDropHelper = new DragDropHelper<ActionSlot>(OnBeginActionDrag, OnContinueActionDrag, OnEndActionDrag);
DragDropHelper.Deadzone = DragDeadZone;
MinSize = (10, 400);
}