1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-01-03 05:25:52 +00:00

fix: Use bounds for relative NSPopover positioning. (#5019)

Fixes #5013

Signed-off-by: Dzmitry Neviadomski <nevack.d@gmail.com>
This commit is contained in:
Dzmitry Neviadomski 2023-02-24 03:40:29 +03:00 committed by GitHub
parent 450e98fd91
commit 026ab5ffc6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3390,7 +3390,7 @@ void onTorrentCompletenessChanged(tr_torrent* tor, tr_completeness status, bool
} }
else else
{ {
[popover showRelativeToRect:senderView.frame ofView:senderView preferredEdge:NSMaxYEdge]; [popover showRelativeToRect:senderView.bounds ofView:senderView preferredEdge:NSMaxYEdge];
} }
} }