2026-10-06 22:12:49 +00:00
|
|
|
// Module ID: 9176
|
|
|
|
|
// Function ID: 9177
|
|
|
|
|
// Name: getDevicePixelRatio
|
2026-09-18 20:18:48 +00:00
|
|
|
// Dependencies: [2]
|
|
|
|
|
// Exports: default
|
|
|
|
|
|
2026-10-06 22:12:49 +00:00
|
|
|
// Module 9176 (getDevicePixelRatio)
|
2026-09-18 20:18:48 +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;
|
|
|
|
|
};
|