mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-15 21:57:10 +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));
|
||||
}
|
||||
if (const auto size = bubble ? std::nullopt : _parent->rightActionSize()
|
||||
; size || _transcribe) {
|
||||
; size || (_transcribe && !rightAligned)) {
|
||||
const auto rightActionWidth = size
|
||||
? size->width()
|
||||
: _transcribe->size().width();
|
||||
|
@ -702,7 +702,7 @@ void Gif::draw(Painter &p, const PaintContext &context) const {
|
|||
paintTranscribe(p, fastShareLeft, fastShareTop, true, context);
|
||||
}
|
||||
}
|
||||
if (_parent->hasOutLayout() && _transcribe) {
|
||||
if (rightAligned && _transcribe) {
|
||||
paintTranscribe(p, usex, fullBottom, false, context);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue