decord/source/modules/launchpad/native/shared/getScaledChannelRowHeight.tsx
github-actions 67d978d9fb chore: update source for alpha 346.0
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9672_m.js (378.6 MB)
2026-09-07 16:44:02 +00:00

16 lines
717 B
TypeScript

// Module ID: 16983
// Function ID: 16984
// Name: getScaledChannelRowHeight
// Dependencies: [16980, 2]
// Exports: default
// Module 16983 (getScaledChannelRowHeight)
import set from "set" /* 2 */;
import getLayoutStyleDefault from "getLayoutStyle" /* 16980 */;
const result = set.fileFinishedImporting("modules/launchpad/native/shared/getScaledChannelRowHeight.tsx");
export default function getScaledChannelRowHeight(arg0) {
const tmp = getLayoutStyleDefault();
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;
};