Skip to content

Commit

Permalink
Code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
amolenaar committed Jul 12, 2019
1 parent 7cf0435 commit 39f2823
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion gaphas/view.py
Original file line number Diff line number Diff line change
Expand Up @@ -764,7 +764,11 @@ def update(self):
self._dirty_matrix_items.clear()

def update_bounding_box(self, items):
cr = cairo.Context(self._back_buffer) if self._back_buffer else instant_cairo_context()
cr = (
cairo.Context(self._back_buffer)
if self._back_buffer
else instant_cairo_context()
)

cr.save()
cr.rectangle(0, 0, 0, 0)
Expand Down

0 comments on commit 39f2823

Please sign in to comment.