mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-17 06:37:24 +02:00
Fix main window drag by title on macOS.
This commit is contained in:
parent
41c98a6c49
commit
ebf8a20d0d
1 changed files with 2 additions and 0 deletions
|
@ -114,6 +114,8 @@ MainWindow::MainWindow(not_null<Window::Controller*> controller)
|
|||
|
||||
if (Platform::WindowsNeedShadow()) {
|
||||
setAttribute(Qt::WA_TranslucentBackground);
|
||||
} else {
|
||||
setAttribute(Qt::WA_OpaquePaintEvent);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue