shift anti drag: fix default bank drag delay
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user