2026-09-21 19:31:18 +00:00
|
|
|
// Module ID: 9985
|
|
|
|
|
// Function ID: 9986
|
2026-09-18 19:45:33 +00:00
|
|
|
// Name: utils/getDevicePixelRatio
|
|
|
|
|
// Dependencies: [2]
|
|
|
|
|
// Exports: default
|
|
|
|
|
|
2026-09-21 19:31:18 +00:00
|
|
|
// Module 9985 (utils/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;
|
|
|
|
|
};
|