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

14 lines
631 B
TypeScript
Raw Normal View History

2026-07-29 08:29:29 +00:00
// Module ID: 15806
// Function ID: 15807
2026-07-20 16:05:17 +00:00
// Name: getScaledChannelRowHeight
2026-07-29 08:29:29 +00:00
// Dependencies: [15803, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-07-29 08:29:29 +00:00
// Module 15806 (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-07-29 08:29:29 +00:00
const tmp = importDefault(15803)();
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;
};