Skip to content

Commit 874ce7d

Browse files
Add devicePixelRatio to canvas for improved rendering quality
1 parent fd4ae0d commit 874ce7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testing/src/application.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ export function Application() {
155155
height: 400,
156156
width: canvasWidth,
157157
}}
158-
// devicePixelRatio={window.devicePixelRatio}
158+
devicePixelRatio={window.devicePixelRatio}
159159
// disabledCanvasEvents={["dragstart"]}
160160
ref={canvasRef}
161161
// id="my-custom-cancas-id"

0 commit comments

Comments
 (0)