2026-10-12 16:32:48 +00:00
|
|
|
// Module ID: 8864
|
|
|
|
|
// Function ID: 8865
|
2026-10-01 14:13:23 +00:00
|
|
|
// Name: getDevicePixelRatio
|
2026-09-18 19:45:33 +00:00
|
|
|
// Dependencies: [2]
|
|
|
|
|
// Exports: default
|
|
|
|
|
|
2026-10-12 16:32:48 +00:00
|
|
|
// Module 8864 (getDevicePixelRatio)
|
2026-09-18 19:45:33 +00:00
|
|
|
import size from "module_2" /* 2 */;
|
|
|
|
|
|
|
|
|
|
const result = size.fileFinishedImporting("utils/getDevicePixelRatio.web.tsx");
|
|
|
|
|
|
|
|
|
|
export default function getDevicePixelRatio() {
|
|
|
|
|
let num = window.devicePixelRatio;
|
|
|
|
|
if (num == null) {
|
|
|
|
|
num = 1;
|
|
|
|
|
}
|
|
|
|
|
return num;
|
|
|
|
|
};
|