added ui scaling
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
#include <functional>
|
||||
|
||||
namespace chatterino {
|
||||
namespace util {
|
||||
|
||||
|
||||
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user