Skip to content

Commit e827d12

Browse files
Fix color of dotted lines
Signed-off-by: Jacob Stopak <[email protected]>
1 parent c0e1e00 commit e827d12

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

git_sim/git_sim_base_command.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -870,7 +870,9 @@ def draw_arrow_between_commits(self, startsha, endsha):
870870
start = self.drawnCommits[startsha].get_center()
871871
end = self.drawnCommits[endsha].get_center()
872872

873-
arrow = DottedLine(start, end, color=self.fontColor).add_tip()
873+
arrow = DottedLine(
874+
start, end, color=self.fontColor, dot_kwargs={"color": self.fontColor}
875+
).add_tip()
874876
length = numpy.linalg.norm(start - end) - 1.65
875877
arrow.set_length(length)
876878
self.draw_arrow(True, arrow)

0 commit comments

Comments
 (0)