Skip to content

Commit

Permalink
fix: immediately wrap messages when switching channels
Browse files Browse the repository at this point in the history
  • Loading branch information
thegamecracks committed Mar 24, 2024
1 parent 3395537 commit 99d6782
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).

## [Unreleased]

### Fixed

- Graphical improvements to the Dumdum client:
- Immediately wrap messages when switching between channels

## [0.3.0] - 2024-03-24

Breaking changes were made to the protocol. Connections can now negotiate
Expand Down
1 change: 1 addition & 0 deletions src/dumdum/client/chat_frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ def __init__(self, parent: ChatFrame):

def add_message(self, message: Message) -> None:
widget = MessageView(self._scroll_frame.inner, self, message)
widget.wrap_to_width(self.winfo_width())
widget.grid(row=len(self.messages), column=0, sticky="ew")
self.messages.append(widget)

Expand Down

0 comments on commit 99d6782

Please sign in to comment.