decord/source/utils/getDevicePixelRatio.web.tsx

18 lines
430 B
TypeScript
Raw Normal View History

2026-07-21 06:55:02 +00:00
// Module ID: 8574
// Function ID: 68108
2026-07-20 16:05:17 +00:00
// Name: getDevicePixelRatio
2026-07-21 06:55:02 +00:00
// Dependencies: [284214097]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-07-21 06:55:02 +00:00
// Module 8574 (getDevicePixelRatio)
2026-07-20 16:05:17 +00:00
const _module = require(dependencyMap[0]);
const result = _module.fileFinishedImporting("utils/getDevicePixelRatio.web.tsx");
export default function getDevicePixelRatio() {
let num = 1;
if (null != devicePixelRatio) {
num = devicePixelRatio;
}
return num;
};