GUI: improved game logs, added mouse cursor and hover style over active card names like browsers

This commit is contained in:
Oleg Agafonov 2023-11-29 03:10:53 +04:00
parent 9c6fc4187f
commit b695f8906c
10 changed files with 93 additions and 19 deletions

View file

@ -108,6 +108,8 @@ public class ChatPanelBasic extends javax.swing.JPanel {
}
public void cleanUp() {
this.disconnect();
this.txtConversation.cleanUp();
}
public void setGameData(UUID gameId, BigCard bigCard) {
@ -158,7 +160,7 @@ public class ChatPanelBasic extends javax.swing.JPanel {
}
}
public void disconnect() {
private void disconnect() {
if (SessionHandler.getSession() != null) {
SessionHandler.leaveChat(chatId);
MageFrame.removeChat(chatId);