Skip to content

Commit 1643f92

Browse files
committed
Merge branch 'feature/tab-button-hidden-by-panel' into develop
2 parents 51d0a08 + 1c46182 commit 1643f92

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

Core/Sources/SuggestionWidget/WidgetPositionStrategy.swift

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -164,10 +164,8 @@ enum UpdateLocationStrategy {
164164
height: Style.panelHeight
165165
)
166166
let tabFrame = CGRect(
167-
x: anchorFrame.origin.x,
168-
y: alignPanelTopToAnchor
169-
? anchorFrame.minY - Style.widgetHeight - Style.widgetPadding
170-
: anchorFrame.maxY + Style.widgetPadding,
167+
x: anchorFrame.minX - Style.widgetPadding - Style.widgetWidth,
168+
y: anchorFrame.origin.y,
171169
width: Style.widgetWidth,
172170
height: Style.widgetHeight
173171
)

0 commit comments

Comments
 (0)