mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 22:27:20 +02:00
Fix Open With menu position in macOS.
This commit is contained in:
parent
7aa12b6e07
commit
cae7e9c502
1 changed files with 1 additions and 1 deletions
|
@ -403,7 +403,7 @@ bool UnsafeShowOpenWithDropdown(const QString &filepath, QPoint menuPosition) {
|
|||
if (!screen) {
|
||||
return false;
|
||||
}
|
||||
const auto r = screen->availableGeometry();
|
||||
const auto r = screen->geometry();
|
||||
auto x = menuPosition.x();
|
||||
auto y = r.y() + r.height() - menuPosition.y();
|
||||
return !![menu popupAtX:x andY:y];
|
||||
|
|
Loading…
Add table
Reference in a new issue