Skip to content

Updated currentValue to be optional in getGradientObject#129

Open
CmCarti wants to merge 1 commit into
hxf31891:mainfrom
CmCarti:fix-optional-argument
Open

Updated currentValue to be optional in getGradientObject#129
CmCarti wants to merge 1 commit into
hxf31891:mainfrom
CmCarti:fix-optional-argument

Conversation

@CmCarti

@CmCarti CmCarti commented Sep 3, 2025

Copy link
Copy Markdown

The function is checking for a falsey value before doing anything with it, so I assume this was always the intent. Easy enough to fix at least.

@zdila

zdila commented Jun 11, 2026

Copy link
Copy Markdown

👋 Heads-up: I've published a maintained fork that bundles this PR together with #128, #130 and #132, since they're still open upstream.

Thanks @CmCarti — your optional currentValue change in getGradientObject is included as-is.

This is an unofficial community fork, not affiliated with the upstream maintainer — published simply to help anyone who needs these changes now. Happy to upstream any of it if a maintainer would like.

(Fork prepared with Claude Code.)

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.

2 participants