diff --git a/ui/widgets/elastic_scroll.cpp b/ui/widgets/elastic_scroll.cpp index b089172..f20dc81 100644 --- a/ui/widgets/elastic_scroll.cpp +++ b/ui/widgets/elastic_scroll.cpp @@ -1277,8 +1277,7 @@ QPoint ScrollDelta(not_null e) { style::ConvertScale(point.x()), style::ConvertScale(point.y())) * kMagicScrollMultiplier; }; - if (Platform::IsMac() - || (Platform::IsWindows() && e->phase() != Qt::NoScrollPhase)) { + if (!e->pixelDelta().isNull()) { return convert(e->pixelDelta()); } return convert(e->angleDelta() / kPixelToAngleDelta);