mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
parent
2b7b278b52
commit
8b570f2e8f
1 changed files with 2 additions and 2 deletions
|
@ -678,7 +678,7 @@ void Gif::draw(Painter &p, const PaintContext &context) const {
|
||||||
: InfoDisplayType::Image));
|
: InfoDisplayType::Image));
|
||||||
}
|
}
|
||||||
if (const auto size = bubble ? std::nullopt : _parent->rightActionSize()
|
if (const auto size = bubble ? std::nullopt : _parent->rightActionSize()
|
||||||
; size || _transcribe) {
|
; size || (_transcribe && !rightAligned)) {
|
||||||
const auto rightActionWidth = size
|
const auto rightActionWidth = size
|
||||||
? size->width()
|
? size->width()
|
||||||
: _transcribe->size().width();
|
: _transcribe->size().width();
|
||||||
|
@ -702,7 +702,7 @@ void Gif::draw(Painter &p, const PaintContext &context) const {
|
||||||
paintTranscribe(p, fastShareLeft, fastShareTop, true, context);
|
paintTranscribe(p, fastShareLeft, fastShareTop, true, context);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (_parent->hasOutLayout() && _transcribe) {
|
if (rightAligned && _transcribe) {
|
||||||
paintTranscribe(p, usex, fullBottom, false, context);
|
paintTranscribe(p, usex, fullBottom, false, context);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue