More image dialog fixes
This commit is contained in:
parent
8f6ed458a6
commit
a6b2be112b
35 changed files with 95 additions and 50 deletions
|
|
@ -242,13 +242,17 @@ TimelineViewManager::escapeEmoji(QString str) const
|
|||
}
|
||||
|
||||
void
|
||||
TimelineViewManager::openImageOverlay(TimelineModel *room, QString mxcUrl, QString eventId)
|
||||
TimelineViewManager::openImageOverlay(TimelineModel *room,
|
||||
QString mxcUrl,
|
||||
QString eventId,
|
||||
double originalWidth,
|
||||
double proportionalHeight)
|
||||
{
|
||||
if (mxcUrl.isEmpty()) {
|
||||
return;
|
||||
}
|
||||
|
||||
emit showImageOverlay(room, eventId, mxcUrl);
|
||||
emit showImageOverlay(room, eventId, mxcUrl, originalWidth, proportionalHeight);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue