Skip to content

Commit

Permalink
Fix PEP8.
Browse files Browse the repository at this point in the history
  • Loading branch information
matham committed Nov 27, 2019
1 parent d9181d1 commit bd5502f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions kivy_garden/painter/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2107,7 +2107,7 @@ class PaintCanvasBehavior(PaintCanvasBehaviorBase):
"""The shape to create when a user starts drawing with a touch. It can be
one of ``'circle', 'ellipse', 'polygon', 'freeform', 'none'`` and it starts
drawing the corresponding shape in the painter widget.
When ``'none'``, not shape will be drawn and only selection is possible.
"""

Expand Down Expand Up @@ -2268,14 +2268,14 @@ def add_colored_shapes_area(self):
Color(*color, group='colorful')
shape.add_area_graphics_to_canvas('colorful', self.canvas)


runTouchApp(Builder.load_string("""
BoxLayout:
orientation: 'vertical'
Label:
size_hint_y: None
height: "50dp"
text: "Keys: {}, Mouse: {}".format(painter.keyboard_keys, painter.mouse and 'Down' or '')
text: "Keys: {}, Mouse: \
{}".format(painter.keyboard_keys, painter.mouse and 'Down' or '')
PainterWidget:
id: painter
draw_mode: mode.text or 'freeform'
Expand Down

0 comments on commit bd5502f

Please sign in to comment.