From 026ab5ffc6a17b17b7a09dc2b2f5dbc9eb92968f Mon Sep 17 00:00:00 2001 From: Dzmitry Neviadomski Date: Fri, 24 Feb 2023 03:40:29 +0300 Subject: [PATCH] fix: Use bounds for relative NSPopover positioning. (#5019) Fixes #5013 Signed-off-by: Dzmitry Neviadomski --- macosx/Controller.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/macosx/Controller.mm b/macosx/Controller.mm index 92890431e..1d5df95bf 100644 --- a/macosx/Controller.mm +++ b/macosx/Controller.mm @@ -3390,7 +3390,7 @@ void onTorrentCompletenessChanged(tr_torrent* tor, tr_completeness status, bool } else { - [popover showRelativeToRect:senderView.frame ofView:senderView preferredEdge:NSMaxYEdge]; + [popover showRelativeToRect:senderView.bounds ofView:senderView preferredEdge:NSMaxYEdge]; } }