mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Fix media caption text selection rendering.
This commit is contained in:
parent
f135ece841
commit
eb1874566b
1 changed files with 1 additions and 1 deletions
|
@ -630,7 +630,7 @@ void Message::draw(Painter &p, const PaintContext &context) const {
|
||||||
media->draw(p, context.translated(
|
media->draw(p, context.translated(
|
||||||
-mediaLeft,
|
-mediaLeft,
|
||||||
-mediaTop
|
-mediaTop
|
||||||
).withSelection(context.selection));
|
).withSelection(skipTextSelection(context.selection)));
|
||||||
p.translate(-mediaLeft, -mediaTop);
|
p.translate(-mediaLeft, -mediaTop);
|
||||||
}
|
}
|
||||||
if (entry) {
|
if (entry) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue