mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
Fix pin livestream on top button position.
This commit is contained in:
@@ -1147,7 +1147,7 @@ void Panel::subscribeToChanges(not_null<Data::GroupCall*> real) {
|
||||
}
|
||||
|
||||
void Panel::createPinOnTop() {
|
||||
_pinOnTop.create(window(), st::groupCallPinOnTop);
|
||||
_pinOnTop.create(widget(), st::groupCallPinOnTop);
|
||||
const auto pinned = [=] {
|
||||
const auto handle = window()->windowHandle();
|
||||
return handle && (handle->flags() & Qt::WindowStaysOnTopHint);
|
||||
|
||||
Reference in New Issue
Block a user