Fix deselecting dialog rows between them.

This commit is contained in:
John Preston 2025-03-20 18:04:14 +04:00
parent 889f111300
commit cdf27296e4

View file

@ -198,7 +198,7 @@ Row *List::rowAtY(int y) const {
List::iterator List::findByY(int y) const {
return ranges::lower_bound(_rows, y, ranges::less(), [](const Row *row) {
return row->top() + row->height();
return row->top() + row->height() - 1;
});
}