Skip to content

fix: handle falsey values in settings options - #26

Merged
joethei merged 1 commit into
joethei:masterfrom
the-other-david-jones:Fix25
Jun 30, 2026
Merged

joethei merged 1 commit into
joethei:masterfrom
the-other-david-jones:Fix25

Conversation

@the-other-david-jones

Copy link
Copy Markdown
Contributor

Fix falsey checks when setting options.

Use explicit undefined checks so that:

  • rotateRatio: 0 works
  • shuffle: false works

Fixes #25

@joethei
joethei merged commit 80dd7a2 into joethei:master Jun 30, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Certain options are being ignored

2 participants