decord/source/modules/collectibles/profile_frames/scaleProfileFrame.tsx

16 lines
568 B
TypeScript
Raw Normal View History

// Module ID: 8340
// Function ID: 8341
2026-07-20 16:05:17 +00:00
// Name: scaleProfileFrame
2026-07-23 10:11:24 +00:00
// Dependencies: [2]
2026-07-20 16:05:17 +00:00
// Exports: default
// Module 8340 (scaleProfileFrame)
import size from "module_2" /* 2 */;
2026-08-24 06:08:38 +00:00
let result = size.fileFinishedImporting("modules/collectibles/profile_frames/scaleProfileFrame.tsx");
2026-07-20 16:05:17 +00:00
export default function scaleProfileFrame(innerWidth, arg1) {
2026-07-20 16:05:17 +00:00
const result = arg1 / innerWidth.innerWidth;
return { overflowTop: innerWidth.overflowTop * result, overflowBottom: innerWidth.overflowBottom * result, overflowHorizontal: innerWidth.overflowHorizontal * result };
};