Merge pull request #123 from dolanmiu/feat/h4-update

Feat/h4 update
This commit is contained in:
Dolan
2018-08-10 00:30:53 +01:00
committed by GitHub
23 changed files with 388 additions and 51 deletions

View File

@ -106,12 +106,12 @@ export class Media {
fileName: key,
dimensions: {
pixels: {
x: dimensions.width,
y: dimensions.height,
x: Math.round(dimensions.width),
y: Math.round(dimensions.height),
},
emus: {
x: dimensions.width * 9525,
y: dimensions.height * 9525,
x: Math.round(dimensions.width * 9525),
y: Math.round(dimensions.height * 9525),
},
},
};