Skip to content

Fix: when initialise a Colour object, RGB value may exceed 255 or be negtive#7

Open
Maple-YZ wants to merge 1 commit intoJMAlego:masterfrom
Maple-YZ:patch-1
Open

Fix: when initialise a Colour object, RGB value may exceed 255 or be negtive#7
Maple-YZ wants to merge 1 commit intoJMAlego:masterfrom
Maple-YZ:patch-1

Conversation

@Maple-YZ
Copy link

Due to the direct manipulate of self._red/_green/_blue attribute, the value check process of Colour object initialization would be skipped.

…egtive

Due to the direct manipulate of self._red/_green/_blue attribute, the value check process of Colour object initialization would be skipped.
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