Skip to content

Commit 7a52f0a

Browse files
committed
update: [SuperDropdown] Format Code x2.
1 parent 59fbbf5 commit 7a52f0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

miuix/src/commonMain/kotlin/top/yukonga/miuix/kmp/extra/SuperDropdown.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ fun calculateOffsetYPx(
387387
dropdownOffsetPx + componentHeightPx - insideHeightPx / 2
388388
} else if (dropdownOffsetPx - statusBarPx > dropdownHeightPx) {
389389
// Show above
390-
dropdownOffsetPx - dropdownHeightPx + insideHeightPx / 2
390+
dropdownOffsetPx - dropdownHeightPx + insideHeightPx / 2
391391
} else if (windowHeightPx - statusBarPx - captionBarPx - navigationBarPx <= dropdownHeightPx) {
392392
// Special handling when the height of the popup is maxsize (== windowHeightPx)
393393
statusBarPx

0 commit comments

Comments
 (0)