decord/source/modules/launchpad/native/shared/getScaledChannelRowHeight.tsx
github-actions 777dc50a28 chore: update source for alpha 346.3
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4790.js (118.4 MB)
2026-09-10 19:12:31 +00:00

16 lines
727 B
TypeScript

// Module ID: 16757
// Function ID: 16758
// Name: getScaledChannelRowHeight
// Dependencies: [16755, 2]
// Exports: default
// Module 16757 (getScaledChannelRowHeight)
import getLayoutStylesDefault from "getLayoutStyles" /* 16755 */;
import size from "module_2" /* 2 */;
const result = size.fileFinishedImporting("modules/launchpad/native/shared/getScaledChannelRowHeight.tsx");
export default function getScaledChannelRowHeight(arg0) {
const tmp = getLayoutStylesDefault();
return Math.max(Math.max(arg0, 1) * (tmp.channelName.height + (tmp.messagePreview.margin.marginTop + tmp.messagePreview.height)), tmp.icon.wrapper.size) + 2 * tmp.container.padding.paddingVertical + 2 * tmp.layout.margin.marginVertical + 4;
};