Skip to content

Commit

Permalink
DPR fix text
Browse files Browse the repository at this point in the history
  • Loading branch information
megastruktur committed Feb 19, 2024
1 parent 94a95fe commit e9519bb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lib/panzoom.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ export interface Options {
}

export function panzoom(canvas: HTMLCanvasElement, options: Options) {
const dpr = window.devicePixelRatio
// const dpr = window.devicePixelRatio
const dpr = 1
const ctx = canvas.getContext('2d')!
const rAF = requestAnimationFrame

Expand Down

0 comments on commit e9519bb

Please sign in to comment.