Files
orca/mobile/src/session/markdown-floating-actions-layout.ts
T
2026-06-08 21:27:33 -07:00

12 lines
274 B
TypeScript

export function resolveMarkdownFloatingActionsBottom({
keyboardLift,
restingBottom,
liftedClearance
}: {
keyboardLift: number
restingBottom: number
liftedClearance: number
}): number {
return keyboardLift > 0 ? keyboardLift + liftedClearance : restingBottom
}