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

17 lines
717 B
TypeScript
Raw Normal View History

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