2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 14:45:14 +00:00

Show participant names in narrow column.

This commit is contained in:
John Preston
2021-05-07 13:55:46 +04:00
parent 8001efe6ab
commit 801435e57c
8 changed files with 191 additions and 29 deletions

View File

@@ -996,6 +996,7 @@ void Panel::raiseControls() {
void Panel::setupPinnedVideo() {
_pinnedVideo.create(widget());
_pinnedVideo->setVisible(_mode == PanelMode::Wide);
_pinnedVideo->setAttribute(Qt::WA_OpaquePaintEvent, true);
raiseControls();
@@ -1026,7 +1027,7 @@ void Panel::setupPinnedVideo() {
}, _pinnedTrackLifetime);
_pinnedVideo->paintRequest(
) | rpl::start_with_next([=] {
) | rpl::start_with_next([=](QRect clip) {
const auto [image, rotation]
= track->frameOriginalWithRotation();
if (image.isNull()) {