decord/source/modules/launchpad/native/shared/getScaledChannelRowHeight.tsx

15 lines
671 B
TypeScript
Raw Normal View History

2026-07-21 06:55:02 +00:00
// Module ID: 15534
// Function ID: 118562
2026-07-20 16:05:17 +00:00
// Name: getScaledChannelRowHeight
// Dependencies: []
// Exports: default
2026-07-21 06:55:02 +00:00
// Module 15534 (getScaledChannelRowHeight)
2026-07-20 16:05:17 +00:00
const _module = require(dependencyMap[1]);
const result = _module.fileFinishedImporting("modules/launchpad/native/shared/getScaledChannelRowHeight.tsx");
export default function getScaledChannelRowHeight(arg0) {
const tmp = importDefault(dependencyMap[0])();
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;
};