Bug 1876398 - Adjust y offset for new method of positioning.

See https://android-review.googlesource.com/c/platform/frameworks/support/+/2701713.
y offsets are no longer reversed when the menu is near the bottom of the screen.
fenix/125.0
mcarare 3 months ago committed by mergify[bot]
parent a25d950b21
commit 0ae8f720e3

@ -632,12 +632,12 @@ private fun TranslationsDropdown(
offset = if (isInLandscapeMode) {
DpOffset(
-contextMenuWidthDp + ICON_SIZE,
-ICON_SIZE,
ICON_SIZE,
)
} else {
DpOffset(
0.dp,
-ICON_SIZE,
ICON_SIZE,
)
},
)

Loading…
Cancel
Save