Skip to content

Bug fix: strict type check in Editor blend functions#25

Open
avgeeklucky wants to merge 1 commit intokosinix:masterfrom
avgeeklucky:opacity-bug
Open

Bug fix: strict type check in Editor blend functions#25
avgeeklucky wants to merge 1 commit intokosinix:masterfrom
avgeeklucky:opacity-bug

Conversation

@avgeeklucky
Copy link
Copy Markdown

Small PR for you.
$opacity !== 1 passes with default values because float 1.0 (default value) is not equal to integer 1.

Added type hints to ensure user values are correct.
Possibly related: #18

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.

1 participant