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

14 lines
631 B
TypeScript
Raw Normal View History

2026-08-15 05:55:55 +00:00
// Module ID: 16199
// Function ID: 16200
2026-07-20 16:05:17 +00:00
// Name: getScaledChannelRowHeight
2026-08-15 05:55:55 +00:00
// Dependencies: [16196, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-08-15 05:55:55 +00:00
// Module 16199 (getScaledChannelRowHeight)
2026-07-23 10:11:24 +00:00
const result = require("set").fileFinishedImporting("modules/launchpad/native/shared/getScaledChannelRowHeight.tsx");
2026-07-20 16:05:17 +00:00
export default function getScaledChannelRowHeight(arg0) {
2026-08-15 05:55:55 +00:00
const tmp = importDefault(16196)();
2026-07-20 16:05:17 +00:00
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;
};