added ui scaling

This commit is contained in:
fourtf 2018-06-11 15:04:54 +02:00
parent 01f3f401ac
commit 394009dda8
2 changed files with 5 additions and 2 deletions

View file

@ -1,7 +1,5 @@
#pragma once
#include <functional>
namespace chatterino {
namespace util {

View file

@ -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();