mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Fix a glitch in IV sharing on Windows.
This commit is contained in:
parent
461aebd7f3
commit
2e7323d484
1 changed files with 1 additions and 0 deletions
|
@ -793,6 +793,7 @@ void Controller::showShareMenu() {
|
||||||
: nullptr);
|
: nullptr);
|
||||||
const auto margins = QMargins(0, st::windowTitleHeight, 0, 0);
|
const auto margins = QMargins(0, st::windowTitleHeight, 0, 0);
|
||||||
if (!_shareHidesContent) {
|
if (!_shareHidesContent) {
|
||||||
|
_shareWrap->setGeometry(_window->geometry().marginsRemoved(margins));
|
||||||
_shareWrap->setWindowFlag(Qt::FramelessWindowHint);
|
_shareWrap->setWindowFlag(Qt::FramelessWindowHint);
|
||||||
_shareWrap->setAttribute(Qt::WA_TranslucentBackground);
|
_shareWrap->setAttribute(Qt::WA_TranslucentBackground);
|
||||||
_shareWrap->setAttribute(Qt::WA_NoSystemBackground);
|
_shareWrap->setAttribute(Qt::WA_NoSystemBackground);
|
||||||
|
|
Loading…
Add table
Reference in a new issue