FEATURE: we now allow a global zoom level of 1.5
This commit is contained in:
parent
a23e72454d
commit
a66d42e158
3 changed files with 24 additions and 18 deletions
|
@ -50,6 +50,6 @@ describe("Test HdpiManager", () => {
|
|||
const result = hdpiManager.getOptimalGameSize({ width: 1280, height: 768 });
|
||||
expect(result.game.width).toEqual(1280);
|
||||
expect(result.game.height).toEqual(768);
|
||||
expect(hdpiManager.zoomModifier).toEqual(1);
|
||||
expect(hdpiManager.zoomModifier).toEqual(2 / 3);
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue