Skip to content

Commit 66d755d

Browse files
committed
undo last checkin
1 parent e724d60 commit 66d755d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/gen-objects.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -899,7 +899,7 @@ export function addTableDefinition(
899899
if (!getSlide(target._slideNum + idx)) slides.push(addSlide(slideLayout ? slideLayout._name : null))
900900

901901
// B: Reset opt.y to `option`/`margin` after first Slide (ISSUE#43, ISSUE#47, ISSUE#48)
902-
if (idx > 0) opt.y = inch2Emu(opt.autoPageSlideStartY || opt.newSlideStartY || opt.y || arrTableMargin[0])
902+
if (idx > 0) opt.y = inch2Emu(opt.autoPageSlideStartY || opt.newSlideStartY || arrTableMargin[0])
903903

904904
// C: Add this table to new Slide
905905
{

src/gen-tables.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -715,7 +715,7 @@ export function genTableToSlides(pptx: PptxGenJS, tabEleId: string, options: Tab
715715

716716
// B: DESIGN: Reset `y` to startY or margin after first Slide (ISSUE#43, ISSUE#47, ISSUE#48)
717717
if (idxTr === 0) opts.y = opts.y || arrInchMargins[0]
718-
if (idxTr > 0) opts.y = opts.autoPageSlideStartY || opts.newSlideStartY || opts.y || arrInchMargins[0]
718+
if (idxTr > 0) opts.y = opts.autoPageSlideStartY || opts.newSlideStartY || arrInchMargins[0]
719719
if (opts.verbose) console.log(`| opts.autoPageSlideStartY: ${opts.autoPageSlideStartY} / arrInchMargins[0]: ${arrInchMargins[0]} => opts.y = ${opts.y}`)
720720

721721
// C: Add table to Slide

0 commit comments

Comments
 (0)