GUI, game: introduced sizeable hand/stack zones (part of #6887 and #969):

- added splitter/divider between hand and stack zone;
- users can resize it by mouse drag;
- users can hide/minimize hand or stack zones by mouse clicks on splitter arrows;
- splitter settings shared between games and stored between app runs;
This commit is contained in:
Oleg Agafonov 2024-08-13 16:07:05 +04:00
parent bc64ebca14
commit 9321c694ca
6 changed files with 198 additions and 48 deletions

View file

@ -730,8 +730,6 @@ public class MageFrame extends javax.swing.JFrame implements MageClient {
return;
}
LOGGER.debug("Setting " + frame.getTitle() + " active");
activeFrame = frame;
desktopPane.moveToFront(activeFrame);
activeFrame.setBounds(0, 0, desktopPane.getWidth(), desktopPane.getHeight());