Skip to content

Commit

Permalink
Merge pull request #889 from mmarkelov/Add-transparency-to-line
Browse files Browse the repository at this point in the history
Add transparency to line
  • Loading branch information
gitbrent authored Apr 23, 2021
2 parents 05a6b48 + ec3825f commit 38f11a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gen-xml.ts
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ function slideObjectToXml(slide: PresSlide | SlideLayout): string {
// shape Type: LINE: line color
if (slideItemObj.options.line) {
strSlideXml += slideItemObj.options.line.width ? `<a:ln w="${valToPts(slideItemObj.options.line.width)}">` : '<a:ln>'
strSlideXml += genXmlColorSelection(slideItemObj.options.line.color)
strSlideXml += genXmlColorSelection(slideItemObj.options.line)
if (slideItemObj.options.line.dashType) strSlideXml += `<a:prstDash val="${slideItemObj.options.line.dashType}"/>`
if (slideItemObj.options.line.beginArrowType) strSlideXml += `<a:headEnd type="${slideItemObj.options.line.beginArrowType}"/>`
if (slideItemObj.options.line.endArrowType) strSlideXml += `<a:tailEnd type="${slideItemObj.options.line.endArrowType}"/>`
Expand Down

0 comments on commit 38f11a6

Please # to comment.