Permalink
Browse files

Merge pull request #170 from durin42/fix-incremental-slides-on-presen…

…ter-view

Fix incremental slides on presenter view
  • Loading branch information...
2 parents 711f41c + af715db commit b56b5ac83cb61d0fb9a7fb0e18369f22c5455372 @goncalossilva goncalossilva committed Mar 6, 2012
Showing with 7 additions and 0 deletions.
  1. +5 −0 public/js/presenter.js
  2. +2 −0 public/js/showoff.js
@@ -35,6 +35,11 @@ function presPrevStep()
function presNextStep()
{
+ // TODO: figure out why these two lines are
+ // necessary. Something in the presenter view isn't correctly
+ // setting these variabls related to incremental slide display.
+ incrCurr = w.incrCurr
+ incrSteps = w.incrSteps
nextStep()
w.nextStep()
postSlide()
@@ -236,6 +236,8 @@ function showSlide(back_step) {
if ('presenterView' in window) {
var pv = window.presenterView;
pv.slidenum = slidenum;
+ pv.incrCurr = incrCurr
+ pv.incrSteps = incrSteps
pv.showSlide(true);
pv.postSlide();
}

0 comments on commit b56b5ac

Please sign in to comment.