We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b874963 commit ff13a03Copy full SHA for ff13a03
lib/CanvasTextEditor.js
@@ -394,6 +394,7 @@ CanvasTextEditor.prototype.getDocument = function() {
394
* Resizes editor to provided dimensions.
395
* @param {Number} width
396
* @param {Number} height
397
+ * @param {Number} dpr device pixel ratio
398
*/
399
CanvasTextEditor.prototype.resize = function(width, height, dpr) {
400
this.canvas.width = width * dpr;
0 commit comments