mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-25 15:47:55 +01:00
Fix font regression
This commit is contained in:
parent
7fe3631b86
commit
c2189a31fa
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user