Version 5.10.3: Fix edit of album caption.

This commit is contained in:
John Preston 2025-01-09 22:54:57 +04:00
parent 798093c58f
commit 48fb0f3b1e

View file

@ -2975,7 +2975,7 @@ bool Message::getStateText(
} else if (const auto botTop = Get<FakeBotAboutTop>()) {
trect.setY(trect.y() + botTop->height);
}
const auto item = data();
const auto item = this->textItem();
if (base::in_range(point.y(), trect.y(), trect.y() + trect.height())) {
*outResult = TextState(item, text().getState(
point - trect.topLeft(),