-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow Line.points definition to be a mix of lists/tuples
Fix for issue kivy#3481 Line.points can be defined as list of lists, tuples and coordinates (float values) setter method modified to check each element of the argument list and append it to self._points accordingly Line example file /examples/canvas/line.py updated with the new possible way of defining points
- Loading branch information
1 parent
d5fe4c6
commit 1baeeeb
Showing
2 changed files
with
9 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters