Skip to content

Commit 1d31084

Browse files
committed
small tweaks
1 parent 46fdea8 commit 1d31084

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

Intersect.Client.Core/Interface/Game/Bank/BankItem.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ public override bool DragAndDrop_HandleDrop(Package package, int x, int y)
191191
var rank = player.GuildRank;
192192
var isInGuild = !string.IsNullOrWhiteSpace(player.Guild);
193193

194-
if (!isInGuild || (player.Rank != 0 && rank?.Permissions.BankDeposit == false))
194+
if (!isInGuild || (Globals.IsGuildBank && player.Rank != 0 && rank?.Permissions.BankDeposit == false))
195195
{
196196
ChatboxMsg.AddMessage(
197197
new ChatboxMsg(

Intersect.Client.Framework/Gwen/Control/Base.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4264,6 +4264,7 @@ public virtual void UpdateCursor()
42644264
}
42654265

42664266
// giver
4267+
// TODO: Fix drag and drop names
42674268
public virtual bool DragAndDrop_Draggable()
42684269
{
42694270
if (_dragPayload == null)

Intersect.Client.Framework/Input/ControlBinding.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public bool WasDown()
5353

5454
if (IsMouseKey && Key.TryGetMouseButton(out var mouseButton))
5555
{
56-
return gameInput.WasMouseButtonDown(mouseButton);
56+
return gameInput.WasMouseButtonDown(mouseButton) && !DragAndDrop.IsDragging;
5757
}
5858

5959
return gameInput.WasKeyDown(Key);

0 commit comments

Comments
 (0)