Fix selection in album captions.

Fixes #8950.
This commit is contained in:
John Preston 2020-11-02 11:18:54 +03:00
parent b179e5332a
commit 07f07c5eeb
1 changed files with 2 additions and 1 deletions

View File

@ -275,7 +275,8 @@ void GroupedMedia::draw(
crl::time ms) const {
const auto groupPadding = groupedPadding();
const auto fullSelection = (selection == FullSelection);
const auto textSelection = !fullSelection
const auto textSelection = (_mode == Mode::Column)
&& !fullSelection
&& !IsSubGroupSelection(selection);
for (auto i = 0, count = int(_parts.size()); i != count; ++i) {
const auto &part = _parts[i];