Show room tooltips when the sidebar is collapsed
This commit is contained in:
parent
62d54146a7
commit
21c68c5824
@ -107,6 +107,11 @@ RoomInfoListItem::resizeEvent(QResizeEvent *)
|
||||
QPainterPath path;
|
||||
path.addRect(0, 0, width(), height());
|
||||
|
||||
if (width() > ui::sidebar::SmallSize)
|
||||
setToolTip("");
|
||||
else
|
||||
setToolTip(roomName_);
|
||||
|
||||
ripple_overlay_->setClipPath(path);
|
||||
ripple_overlay_->setClipping(true);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user