mirror of
https://github.com/getpaseo/paseo.git
synced 2026-10-31 05:32:58 +00:00
15 lines
356 B
TypeScript
15 lines
356 B
TypeScript
export function reviewGapTop(rowY: number, rowHeight: number, reviewHeight: number): number {
|
|
"worklet";
|
|
return rowY + rowHeight - reviewHeight;
|
|
}
|
|
|
|
export function reviewDividerHeight(rowHeight: number): number {
|
|
"worklet";
|
|
return rowHeight;
|
|
}
|
|
|
|
export function reviewBackgroundPaint<Paint>(surface: Paint): Paint {
|
|
"worklet";
|
|
return surface;
|
|
}
|