Fix blur on high DPI screens
This commit is contained in:
1 parent
ebdbb1e979
commit
1c4093481e
4 files changed
+37
-35
No files matched your search
+1
-1
@@ -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(){
|
||||
|
||||
Reference in new issue
Block a user