Skip to content

Commit 58ab1e6

Browse files
author
lauren mccarthy
committed
typo with pixel density
1 parent 27a668d commit 58ab1e6

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

lib/p5.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ var core = function (require, shim, constants) {
8989
var constants = constants;
9090
var p5 = function (sketch, node) {
9191
this._setupDone = false;
92-
this._pixel = window.devicePixelRatio || 1;
92+
this._pixelDensity = window.devicePixelRatio || 1;
9393
this._startTime = new Date().getTime();
9494
this._userNode = node;
9595
this._curElement = null;

0 commit comments

Comments
 (0)