We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0db22f commit e11e6e4Copy full SHA for e11e6e4
src/style.js
@@ -15,7 +15,7 @@ import {
15
} from "./options.js";
16
import {warn} from "./warnings.js";
17
18
-export const offset = typeof window !== "undefined" && window.devicePixelRatio > 1 ? 0 : 0.5;
+export const offset = (typeof window !== "undefined" ? window.devicePixelRatio > 1 : typeof it === "undefined") ? 0 : 0.5; // prettier-ignore
19
20
let nextClipId = 0;
21
0 commit comments