diff --git a/TODO.md b/TODO.md index d7662644..eb735338 100644 --- a/TODO.md +++ b/TODO.md @@ -1,7 +1,6 @@ # TODO - Image viewer: - - support http urls - open externally in context menu in timeline thumbnail - fix: gif always closes? - hflickable support kinetic scrolling disabler and speed/decel settings diff --git a/src/gui/Pages/Chat/Timeline/EventImage.qml b/src/gui/Pages/Chat/Timeline/EventImage.qml index 155a296e..71d53f5e 100644 --- a/src/gui/Pages/Chat/Timeline/EventImage.qml +++ b/src/gui/Pages/Chat/Timeline/EventImage.qml @@ -84,10 +84,14 @@ HMxcImage { overallSize: Qt.size( loader.singleMediaInfo.media_width || - loader.singleMediaInfo.thumbnail_width, + loader.singleMediaInfo.thumbnail_width || + implicitWidth || + 800, loader.singleMediaInfo.media_height || - loader.singleMediaInfo.thumbnail_height, + loader.singleMediaInfo.thumbnail_height || + implicitHeight || + 600, ) }, obj => { obj.openExternallyRequested.connect(openUrlExternally) },