mirror of
https://github.com/enzet/map-machine.git
synced 2025-08-06 10:09:52 +02:00
Issue #84: fix connection border.
This commit is contained in:
parent
1be9906baf
commit
e7749fb6cd
1 changed files with 2 additions and 4 deletions
|
@ -706,13 +706,11 @@ class ComplexConnector(Connector):
|
|||
|
||||
if filter_:
|
||||
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(),
|
||||
)
|
||||
else:
|
||||
path: Path = svg.path(
|
||||
d=["M"] + self.curve_1 + ["L"] + self.curve_2 + ["Z"]
|
||||
)
|
||||
path: Path = svg.path(d=["M"] + self.curve_1 + ["M"] + self.curve_2)
|
||||
path.update(self.road_1.get_style(self.flinger, True, True))
|
||||
svg.add(path)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue