decord/source/modules/launchpad/native/shared/getScaledChannelRowHeight.tsx
2026-07-24 07:16:23 +00:00

13 lines
632 B
TypeScript

// Module ID: 15709
// Function ID: 121139
// Name: getScaledChannelRowHeight
// Dependencies: [15706, 2]
// Exports: default
// Module 15709 (getScaledChannelRowHeight)
const result = require("set").fileFinishedImporting("modules/launchpad/native/shared/getScaledChannelRowHeight.tsx");
export default function getScaledChannelRowHeight(arg0) {
const tmp = importDefault(15706)();
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;
};