Fix media caption text selection rendering.

This commit is contained in:
John Preston 2021-09-08 13:47:34 +03:00
parent f135ece841
commit eb1874566b
1 changed files with 1 additions and 1 deletions

View File

@ -630,7 +630,7 @@ void Message::draw(Painter &p, const PaintContext &context) const {
media->draw(p, context.translated(
-mediaLeft,
-mediaTop
).withSelection(context.selection));
).withSelection(skipTextSelection(context.selection)));
p.translate(-mediaLeft, -mediaTop);
}
if (entry) {