mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Fix a glitch in IV sharing on Windows.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user