mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
added ui scaling
This commit is contained in:
parent
01f3f401ac
commit
394009dda8
|
@ -1,7 +1,5 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <functional>
|
|
||||||
|
|
||||||
namespace chatterino {
|
namespace chatterino {
|
||||||
namespace util {
|
namespace util {
|
||||||
|
|
||||||
|
|
|
@ -660,6 +660,11 @@ void ChannelView::wheelEvent(QWheelEvent *event)
|
||||||
this->pausedTemporarily_ = false;
|
this->pausedTemporarily_ = false;
|
||||||
this->updatePauseStatus();
|
this->updatePauseStatus();
|
||||||
|
|
||||||
|
if (event->modifiers() & Qt::ControlModifier) {
|
||||||
|
event->ignore();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (this->scrollBar_.isVisible()) {
|
if (this->scrollBar_.isVisible()) {
|
||||||
auto app = getApp();
|
auto app = getApp();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue