summary refs log tree commit diff
path: root/include
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2017-12-21 18:27:57 +0200
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2017-12-21 18:27:57 +0200
commitece20dd9170f6308f6af6d0a4b8fcc0bfcc5fc66 (patch)
tree30942250324e6cf17eee189ee5833c0b20950371 /include
parentRemove the 'Video' prefix from video links (diff)
downloadnheko-ece20dd9170f6308f6af6d0a4b8fcc0bfcc5fc66.tar.xz
Add rounded corners to inline images
Diffstat (limited to 'include')
-rw-r--r--include/timeline/widgets/ImageItem.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/timeline/widgets/ImageItem.h b/include/timeline/widgets/ImageItem.h

index 931c17dd..467c70ab 100644 --- a/include/timeline/widgets/ImageItem.h +++ b/include/timeline/widgets/ImageItem.h
@@ -69,6 +69,9 @@ private: int bottom_height_ = 30; + QRectF textRegion_; + QRectF imageRegion_; + mtx::events::RoomEvent<mtx::events::msg::Image> event_; QSharedPointer<MatrixClient> client_;