mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Fix pin livestream on top button position.
This commit is contained in:
parent
bcbd97e515
commit
d8724a63fb
1 changed files with 1 additions and 1 deletions
|
@ -1147,7 +1147,7 @@ void Panel::subscribeToChanges(not_null<Data::GroupCall*> real) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void Panel::createPinOnTop() {
|
void Panel::createPinOnTop() {
|
||||||
_pinOnTop.create(window(), st::groupCallPinOnTop);
|
_pinOnTop.create(widget(), st::groupCallPinOnTop);
|
||||||
const auto pinned = [=] {
|
const auto pinned = [=] {
|
||||||
const auto handle = window()->windowHandle();
|
const auto handle = window()->windowHandle();
|
||||||
return handle && (handle->flags() & Qt::WindowStaysOnTopHint);
|
return handle && (handle->flags() & Qt::WindowStaysOnTopHint);
|
||||||
|
|
Loading…
Add table
Reference in a new issue