mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 06:07:06 +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);
|
||||
const auto margins = QMargins(0, st::windowTitleHeight, 0, 0);
|
||||
if (!_shareHidesContent) {
|
||||
_shareWrap->setGeometry(_window->geometry().marginsRemoved(margins));
|
||||
_shareWrap->setWindowFlag(Qt::FramelessWindowHint);
|
||||
_shareWrap->setAttribute(Qt::WA_TranslucentBackground);
|
||||
_shareWrap->setAttribute(Qt::WA_NoSystemBackground);
|
||||
|
|
Loading…
Add table
Reference in a new issue