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

17 lines
727 B
TypeScript
Raw Normal View History

// Module ID: 16700
// Function ID: 16701
2026-07-20 16:05:17 +00:00
// Name: getScaledChannelRowHeight
// Dependencies: [16698, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
// Module 16700 (getScaledChannelRowHeight)
import getLayoutStylesDefault from "getLayoutStyles" /* 16698 */;
import size from "module_2" /* 2 */;
2026-08-24 06:08:38 +00:00
const result = size.fileFinishedImporting("modules/launchpad/native/shared/getScaledChannelRowHeight.tsx");
2026-07-20 16:05:17 +00:00
export default function getScaledChannelRowHeight(arg0) {
const tmp = getLayoutStylesDefault();
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;
};