decord/source/utils/getDevicePixelRatio.web.tsx
github-actions 67d978d9fb chore: update source for alpha 346.0
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9672_m.js (378.6 MB)
2026-09-07 16:44:02 +00:00

18 lines
400 B
TypeScript

// Module ID: 9196
// Function ID: 9197
// Name: getDevicePixelRatio
// Dependencies: [2]
// Exports: default
// Module 9196 (getDevicePixelRatio)
import set from "set" /* 2 */;
const result = set.fileFinishedImporting("utils/getDevicePixelRatio.web.tsx");
export default function getDevicePixelRatio() {
let num = window.devicePixelRatio;
if (num == null) {
num = 1;
}
return num;
};