Skip to content

Commit

Permalink
Merge pull request #181 from ViBevilacqua/master
Browse files Browse the repository at this point in the history
FIX: {end_ang} and {radi} not seen as variables
  • Loading branch information
ldevillez authored Jan 5, 2024
2 parents 5069a1e + f2794ab commit b36a589
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
### Deprecated
### Removed
### Fixed
- Fix bug with arc where angles values were not replaced
### Security

## v3.0.0 - 12/12/2023
Expand Down
2 changes: 1 addition & 1 deletion svg2tikz/tikz_export.py
Original file line number Diff line number Diff line change
Expand Up @@ -1150,7 +1150,7 @@ def convert_path_to_tikz(self, path):
if ang != 0.0:
s += (
"{" + f"[rotate={ang}] arc({start_ang}"
":{end_ang}:{radi})" + "}"
f":{end_ang}:{radi})" + "}"
)
else:
s += f"arc({start_ang}:{end_ang}:{radi})"
Expand Down

0 comments on commit b36a589

Please sign in to comment.