Viewport
- do not parseInt but parseFloat
This commit is contained in:
parent
71c15ee64c
commit
b979982cc5
4 changed files with 5 additions and 5 deletions
|
|
@ -1117,7 +1117,7 @@
|
|||
throw new Error('Invalid height');
|
||||
}
|
||||
heightUnit = match[2];
|
||||
height = parseInt(match[1]);
|
||||
height = parseFloat(match[1]);
|
||||
}
|
||||
return {height: height, unit: heightUnit};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue