Skip to content

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

Open
yeah-zihan wants to merge 1 commit intoJMAlego:masterfrom
yeah-zihan:patch-1
Open

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

Conversation

@yeah-zihan
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