Skip to content

Commit 160d36c

Browse files
authored
Merge pull request #103 from sentisso/master
fix: changing options update ordering in Fireworks constructor
2 parents 2fc501f + 90faaed commit 160d36c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/fireworks-js/src/fireworks.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ export class Fireworks {
3737

3838
this.opts = new Options()
3939

40-
this.updateOptions(options)
4140
this.createCanvas(this.target)
41+
this.updateOptions(options)
4242

4343
this.sound = new Sound(this.opts)
4444
this.resize = new Resize(

0 commit comments

Comments
 (0)