added ui scaling
This commit is contained in:
@@ -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();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user