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

16 lines
555 B
TypeScript
Raw Normal View History

2026-08-24 06:08:38 +00:00
// Module ID: 9004
// Function ID: 9005
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
2026-08-24 06:08:38 +00:00
// Module 9004 (scaleProfileFrame)
import set from "set" /* 2 */;
let result = set.fileFinishedImporting("modules/collectibles/profile_frames/scaleProfileFrame.tsx");
2026-07-20 16:05:17 +00:00
export default function scaleProfileFrame(innerWidth) {
const result = arg1 / innerWidth.innerWidth;
return { overflowTop: innerWidth.overflowTop * result, overflowBottom: innerWidth.overflowBottom * result, overflowHorizontal: innerWidth.overflowHorizontal * result };
};