mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
Prevent being able to resize window when hovering over main menu
This commit is contained in:
@@ -211,9 +211,12 @@ public class FFrame extends JFrame {
|
||||
else if (loc.y < grabArea) {
|
||||
setResizeCursor(Cursor.N_RESIZE_CURSOR);
|
||||
}
|
||||
else {
|
||||
else if (loc.y >= getHeight() - grabArea) {
|
||||
setResizeCursor(Cursor.S_RESIZE_CURSOR);
|
||||
}
|
||||
else {
|
||||
setResizeCursor(Cursor.DEFAULT_CURSOR);
|
||||
}
|
||||
}
|
||||
}
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user