Coding style
- lines too long. - Unnecessary 'if'.
This commit is contained in:
parent
8028f035e2
commit
324e3a8c68
2 changed files with 11 additions and 10 deletions
|
|
@ -344,7 +344,7 @@ class DiffEditor:
|
|||
continue
|
||||
color = colors[color_index % len(colors)]
|
||||
left_y = left_start - left_scroll + self.left_editor.parts_height + 1 # 1 for header
|
||||
right_y = right_start - right_scroll + self.right_editor.parts_height + 1 # 1 for header
|
||||
right_y = right_start - right_scroll + self.right_editor.parts_height + 1
|
||||
draw_connector(columns, color, left_y, right_y)
|
||||
for y in [left_y, right_y]:
|
||||
if y <= 0:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue