Issue #84: fix connection border.

This commit is contained in:
Sergey Vartanov 2021-10-12 00:42:16 +03:00
parent 1be9906baf
commit e7749fb6cd

View file

@ -706,13 +706,11 @@ class ComplexConnector(Connector):
if filter_: if filter_:
path: Path = svg.path( path: Path = svg.path(
d=["M"] + self.curve_1 + ["L"] + self.curve_2 + ["Z"], d=["M"] + self.curve_1 + ["M"] + self.curve_2,
filter=filter_.get_funciri(), filter=filter_.get_funciri(),
) )
else: else:
path: Path = svg.path( path: Path = svg.path(d=["M"] + self.curve_1 + ["M"] + self.curve_2)
d=["M"] + self.curve_1 + ["L"] + self.curve_2 + ["Z"]
)
path.update(self.road_1.get_style(self.flinger, True, True)) path.update(self.road_1.get_style(self.flinger, True, True))
svg.add(path) svg.add(path)