Fix blur on high DPI screens

This commit is contained in:
Pyro Nicampt committed 2025-03-21 12:53:50 -05:00
1 parent ebdbb1e979
commit 1c4093481e
4 files changed
+37 -35

No files matched your search

+1 -1
View File
@@ -16,7 +16,7 @@ export const gradeIncrements = [
0.001
];
const gradeArrowDimensions = 64;
const gradeArrowDimensions = 64 * window.devicePixelRatio;
export const gradeArrows = new OffscreenCanvas(11*gradeArrowDimensions, 2*gradeArrowDimensions);
export function generateGradeArrows(){