mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 19:28:01 +00:00
Prevent crash when clicking Forge button
This commit is contained in:
@@ -186,8 +186,6 @@ public class FNavigationBar extends FTitleBarBase {
|
||||
btnForge.addMouseListener(new MouseAdapter() {
|
||||
@Override
|
||||
public void mousePressed(MouseEvent e) {
|
||||
int[] x = null;
|
||||
int y = x[2];
|
||||
if (btnForge.isEnabled() && System.currentTimeMillis() - timeMenuHidden > 250) { //time comparsion needed clicking button a second time to hide menu
|
||||
showForgeMenu(true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user