mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 14:17:12 +02:00
Fixed render of text selection in sections.
Regression was introduced in f4fdadd3b0
.
This commit is contained in:
parent
b3f8d0e81a
commit
df0229cffd
1 changed files with 1 additions and 0 deletions
|
@ -1623,6 +1623,7 @@ void ListWidget::paintEvent(QPaintEvent *e) {
|
|||
p.translate(0, top);
|
||||
for (auto i = from; i != to; ++i) {
|
||||
const auto view = *i;
|
||||
context.selection = itemRenderSelection(view);
|
||||
view->draw(p, context);
|
||||
const auto height = view->height();
|
||||
top += height;
|
||||
|
|
Loading…
Add table
Reference in a new issue