Skip to content

Commit 7feff54

Browse files
committed
Application: Add missing "default default" for precision
This fixes a bug introduced by #368 where it was incorrectly assumed that precision was guaranteed to be set with a default in all cases. But apparently it was only specific cases.
1 parent 8750504 commit 7feff54

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
@@ -37,7 +37,7 @@ export let AppInstance
3737
export let AppData
3838

3939
const defaultOptions = {
40-
stage: { w: 1920, h: 1080, clearColor: 0x00000000, canvas2d: false },
40+
stage: { w: 1920, h: 1080, precision: 1, clearColor: 0x00000000, canvas2d: false },
4141
debug: false,
4242
defaultFontFace: 'RobotoRegular',
4343
keys: {

0 commit comments

Comments
 (0)