Commit 3056897a authored by Kai Willadsen's avatar Kai Willadsen

sourceview: PEP8

parent 9f32ab78
......@@ -232,7 +232,8 @@ class MeldSourceView(GtkSource.View):
new_anim_chunks = []
for c in self.animating_chunks:
current_time = GLib.get_monotonic_time()
percent = min(1.0, (current_time - c.start_time) / float(c.duration))
percent = min(
1.0, (current_time - c.start_time) / float(c.duration))
rgba_pairs = zip(c.start_rgba, c.end_rgba)
rgba = [s + (e - s) * percent for s, e in rgba_pairs]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment