Fixed vertical scroll bar drawing on 4K monitors

This commit is contained in:
2019-12-17 08:17:22 +01:00
parent 396686bfdc
commit 69153005cd
3 changed files with 6 additions and 6 deletions

View File

@ -195,7 +195,6 @@ public class ChatWindow extends JFrame {
@SuppressWarnings("unchecked")
final JList<User> selectedUserList = (JList<User>) listSelectionEvent.getSource();
final User user = selectedUserList.getSelectedValue();
client.setRecipient(user);
currentChat = localDB.getChats().stream().filter(chat -> chat.getRecipient().getID() == user.getID()).findFirst().get();