Fix linting errors

This commit is contained in:
Dolan
2018-08-09 23:22:03 +01:00
parent 3436a1584c
commit 89df3c48e0
8 changed files with 37 additions and 36 deletions

View File

@ -61,8 +61,6 @@ export class Media {
this.map = new Map<string, IMediaData>();
}
x: Math.round(dimensions.width * 9525),
y: Math.round(dimensions.height * 9525),
public getMedia(key: string): IMediaData {
const data = this.map.get(key);
@ -108,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),
},
},
};