decord/stable/source/utils/getDevicePixelRatio.native.tsx
github-actions 57c2214117 chore: update source for stable 347.12
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4973.js (118.4 MB)
2026-09-29 21:26:22 +00:00

20 lines
486 B
TypeScript

// Module ID: 1879
// Function ID: 1880
// Name: getDevicePixelRatio
// Dependencies: [17, 2]
// Exports: default
// Module 1879 (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;
};