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

14 lines
535 B
TypeScript
Raw Normal View History

2026-07-25 08:10:48 +00:00
// Module ID: 8034
2026-07-27 11:26:19 +00:00
// Function ID: 63918
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-07-25 08:10:48 +00:00
// Module 8034 (scaleProfileFrame)
2026-07-23 10:11:24 +00:00
let result = require("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 };
};