Skip to content

Commit b841f9e

Browse files
Updated 720p rendering if width and height are not provided
1 parent 603505e commit b841f9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Application/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ export default function(App, appData, platformSettings) {
9090
}
9191

9292
// support for 720p browser
93-
if (window.innerHeight === 720) {
93+
if (!width && !height && window.innerHeight === 720) {
9494
defaultOptions.stage['w'] = 1280
9595
defaultOptions.stage['h'] = 720
9696
defaultOptions.stage['precision'] = 1280 / 1920

0 commit comments

Comments
 (0)