mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-03 07:56:03 +00:00
Fix out-of-clip-area dialog paint with collapsed archive.
This commit is contained in:
@@ -657,7 +657,7 @@ void InnerWidget::paintEvent(QPaintEvent *e) {
|
|||||||
p.translate(0, top - skippedTop);
|
p.translate(0, top - skippedTop);
|
||||||
for (auto e = list.cend(); i != e; ++i) {
|
for (auto e = list.cend(); i != e; ++i) {
|
||||||
auto row = (*i);
|
auto row = (*i);
|
||||||
if (top - skippedTop >= dialogsClip.top() - skip + dialogsClip.height()) {
|
if (top >= dialogsClip.top() - skip + dialogsClip.height()) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user