Fix red text color persisting from message overflow highlight (#4204)

Co-authored-by: Felanbird <41973452+Felanbird@users.noreply.github.com>
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
This commit is contained in:
kornes
2022-12-03 11:10:11 +00:00
committed by GitHub
parent 188782ddca
commit db12693a27
4 changed files with 23 additions and 18 deletions
-4
View File
@@ -52,8 +52,6 @@ public:
QString getInputText() const;
void insertText(const QString &text);
static const int TWITCH_MESSAGE_LIMIT = 500;
void setReply(std::shared_ptr<MessageThread> reply,
bool showInlineReplying = true);
void setPlaceholderText(const QString &text);
@@ -151,8 +149,6 @@ protected:
QString currMsg_;
int prevIndex_ = 0;
int lastOverflowLength = TWITCH_MESSAGE_LIMIT;
// Hidden denotes whether this split input should be hidden or not
// This is used instead of the regular QWidget::hide/show because
// focus events don't work as expected, so instead we use this bool and