mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-03 21:54:05 +02:00
Fix deselecting dialog rows between them.
This commit is contained in:
parent
889f111300
commit
cdf27296e4
1 changed files with 1 additions and 1 deletions
|
@ -198,7 +198,7 @@ Row *List::rowAtY(int y) const {
|
||||||
|
|
||||||
List::iterator List::findByY(int y) const {
|
List::iterator List::findByY(int y) const {
|
||||||
return ranges::lower_bound(_rows, y, ranges::less(), [](const Row *row) {
|
return ranges::lower_bound(_rows, y, ranges::less(), [](const Row *row) {
|
||||||
return row->top() + row->height();
|
return row->top() + row->height() - 1;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue