From 1c0889f78a74bb29e8cea6986ea8b18e7add7fb0 Mon Sep 17 00:00:00 2001 From: John Preston Date: Tue, 18 Jul 2023 12:15:05 +0400 Subject: [PATCH] Fix ElasticScroll glitch after resizing. --- ui/widgets/elastic_scroll.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/ui/widgets/elastic_scroll.cpp b/ui/widgets/elastic_scroll.cpp index 68b297e..50b622c 100644 --- a/ui/widgets/elastic_scroll.cpp +++ b/ui/widgets/elastic_scroll.cpp @@ -1043,6 +1043,7 @@ void ElasticScroll::resizeEvent(QResizeEvent *e) { height()) : QRect(0, height() - _st.width, width(), _st.width)); _geometryChanged.fire({}); + updateState(); } void ElasticScroll::moveEvent(QMoveEvent *e) {