We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 51d0a08 + 1c46182 commit 1643f92Copy full SHA for 1643f92
1 file changed
Core/Sources/SuggestionWidget/WidgetPositionStrategy.swift
@@ -164,10 +164,8 @@ enum UpdateLocationStrategy {
164
height: Style.panelHeight
165
)
166
let tabFrame = CGRect(
167
- x: anchorFrame.origin.x,
168
- y: alignPanelTopToAnchor
169
- ? anchorFrame.minY - Style.widgetHeight - Style.widgetPadding
170
- : anchorFrame.maxY + Style.widgetPadding,
+ x: anchorFrame.minX - Style.widgetPadding - Style.widgetWidth,
+ y: anchorFrame.origin.y,
171
width: Style.widgetWidth,
172
height: Style.widgetHeight
173
0 commit comments