improved user popup

This commit is contained in:
fourtf
2018-06-19 18:55:45 +02:00
parent 73a067f42f
commit 78b20776a8
7 changed files with 72 additions and 10 deletions
+6 -1
View File
@@ -563,7 +563,8 @@ messages::MessageElement::Flags ChannelView::getFlags() const
bool ChannelView::isPaused()
{
return this->pausedTemporarily_ || this->pausedBySelection_ || this->pausedByScrollingUp_;
return false;
// return this->pausedTemporarily_ || this->pausedBySelection_ || this->pausedByScrollingUp_;
}
void ChannelView::updatePauseStatus()
@@ -659,6 +660,10 @@ void ChannelView::drawMessages(QPainter &painter)
void ChannelView::wheelEvent(QWheelEvent *event)
{
if (event->orientation() != Qt::Vertical) {
return;
}
this->pausedBySelection_ = false;
this->pausedTemporarily_ = false;
this->updatePauseStatus();