Skip to content

Commit 61fb38b

Browse files
committed
Fixed slide num issue
1 parent 035cf6b commit 61fb38b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gen-xml.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1618,7 +1618,7 @@ export function makeXmlMaster (slide: PresSlide, layouts: SlideLayout[]): string
16181618
strXml +=
16191619
'<p:clrMap bg1="lt1" tx1="dk1" bg2="lt2" tx2="dk2" accent1="accent1" accent2="accent2" accent3="accent3" accent4="accent4" accent5="accent5" accent6="accent6" hlink="hlink" folHlink="folHlink"/>'
16201620
strXml += '<p:sldLayoutIdLst>' + layoutDefs.join('') + '</p:sldLayoutIdLst>'
1621-
strXml += '<p:hf sldNum="0" hdr="0" ftr="0" dt="0"/>'
1621+
strXml += slide._slideNumberProps !== null ? '<p:hf hdr="0" ftr="0" dt="0"/>' : '<p:hf sldNum="0" hdr="0" ftr="0" dt="0"/>'
16221622
strXml +=
16231623
'<p:txStyles>' +
16241624
' <p:titleStyle>' +

0 commit comments

Comments
 (0)