shift anti drag: fix default bank drag delay

This commit is contained in:
Brennan Williams
2020-02-26 16:26:55 +01:00
committed by Adam
parent d19e125998
commit 0a3b42a64a

View File

@@ -98,8 +98,7 @@ public class AntiDragPlugin extends Plugin implements KeyListener
if (e.getKeyCode() == KeyEvent.VK_SHIFT)
{
client.setInventoryDragDelay(DEFAULT_DELAY);
// In this case, 0 is the default for bank item widgets.
setBankDragDelay(0);
setBankDragDelay(DEFAULT_DELAY);
}
}
@@ -109,7 +108,7 @@ public class AntiDragPlugin extends Plugin implements KeyListener
if (!focusChanged.isFocused())
{
client.setInventoryDragDelay(DEFAULT_DELAY);
setBankDragDelay(0);
setBankDragDelay(DEFAULT_DELAY);
}
}