Skip to content

Commit 3592fc2

Browse files
authored
fix: scope is not defined in getTextDimensions (#3078)
1 parent ef70f92 commit 3592fc2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/modules/cell.js

+1
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,7 @@ import { jsPDF } from "../jspdf.js";
186186
var amountOfLines = 0;
187187
var height = 0;
188188
var tempWidth = 0;
189+
var scope = this;
189190

190191
if (!Array.isArray(text) && typeof text !== "string") {
191192
if (typeof text === "number") {

0 commit comments

Comments
 (0)