Skip to content

Commit 90faaed

Browse files
committed
fix: changing options update ordering in Fireworks constructor
1 parent 4bf8e52 commit 90faaed

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)