Skip to content

Commit 361db77

Browse files
committed
Fix anchor position in secondary displays
1 parent 7b9b9fe commit 361db77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Core/Sources/SuggestionWidget/SuggestionWidgetController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ public final class SuggestionWidgetController {
247247
if foundSize, foundPosition, let screen, let firstScreen {
248248
let proposedAnchorFrameOnTheRightSide = CGRect(
249249
x: frame.maxX - Style.widgetPadding - Style.widgetWidth,
250-
y: max(firstScreen.frame.height - frame.maxY + Style.widgetPadding, 4),
250+
y: max(firstScreen.frame.height - frame.maxY + Style.widgetPadding, 4 + screen.frame.minY),
251251
width: Style.widgetWidth,
252252
height: Style.widgetHeight
253253
)

0 commit comments

Comments
 (0)