From c2189a31fa20bce1ef13843bc807ee05dd598273 Mon Sep 17 00:00:00 2001 From: Paulo Gustavo Veiga Date: Thu, 23 Dec 2021 08:24:15 -0800 Subject: [PATCH] Fix font regression --- packages/web2d/src/components/peer/svg/Font.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/web2d/src/components/peer/svg/Font.js b/packages/web2d/src/components/peer/svg/Font.js index 31ee1740..c5b88a3c 100644 --- a/packages/web2d/src/components/peer/svg/Font.js +++ b/packages/web2d/src/components/peer/svg/Font.js @@ -70,7 +70,7 @@ class Font { setSize(value) { const size = Number.parseInt(value, 10); - $assert(!Number.isFinite(size), 'size must be a valid integer'); + $assert(Number.isFinite(size), `size must be a valid integer: ${value}`); this._size = size; }