decord/alpha/source/utils/getDevicePixelRatio.native.tsx
github-actions 1224ea86fd chore: update source for alpha 348.5
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/05xxx/module_5021.js (118.4 MB)
2026-09-26 08:31:33 +00:00

20 lines
486 B
TypeScript

// Module ID: 1880
// Function ID: 1881
// Name: getDevicePixelRatio
// Dependencies: [17, 2]
// Exports: default
// Module 1880 (getDevicePixelRatio)
import _mod17 from "module_17" /* 17 */;
import size from "module_2" /* 2 */;
const PixelRatio = _mod17.PixelRatio;
const result = size.fileFinishedImporting("utils/getDevicePixelRatio.native.tsx");
export default function getDevicePixelRatio() {
let num = PixelRatio.get();
if (num == null) {
num = 1;
}
return num;
};