diff --git a/src/util/clamp.hpp b/src/util/clamp.hpp index c392b9d2..767c0f1c 100644 --- a/src/util/clamp.hpp +++ b/src/util/clamp.hpp @@ -1,7 +1,5 @@ #pragma once -#include - namespace chatterino { namespace util { diff --git a/src/widgets/helper/channelview.cpp b/src/widgets/helper/channelview.cpp index 237706c6..e75c570f 100644 --- a/src/widgets/helper/channelview.cpp +++ b/src/widgets/helper/channelview.cpp @@ -660,6 +660,11 @@ void ChannelView::wheelEvent(QWheelEvent *event) this->pausedTemporarily_ = false; this->updatePauseStatus(); + if (event->modifiers() & Qt::ControlModifier) { + event->ignore(); + return; + } + if (this->scrollBar_.isVisible()) { auto app = getApp();