Implement stick-to-bottom flag

This commit is contained in:
Lukas Brübach 2026-08-12 01:16:14 +02:00
parent 5da29fc52b
commit d31583dc2d
2 changed files with 26 additions and 9 deletions

View file

@ -60,7 +60,7 @@ private:
QStringList highlightedWords;
bool evenNumber;
bool showTimestamps;
bool scrollToBottomPending = false;
bool stickToBottom = false;
HoveredItemType hoveredItemType;
QString hoveredContent;
QAction *messageClicked;
@ -89,6 +89,8 @@ private slots:
void actMessageClicked();
void adjustColorsToPalette();
void refreshBlockColors();
void onScrollBarRangeChanged();
void onScrollBarValueChanged(int value);
public:
ChatView(TabSupervisor *_tabSupervisor, AbstractGame *_game, bool _showTimestamps, QWidget *parent = nullptr);