Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

presenter view: fix advancing of incremental bullet slides

There are some global state variables that aren't correctly getting
initialized in the presenter view. Since I'm on a tight time budget at
the moment, just hackily forward the state from the presentation view
to the presenter view, which fixes the defect.
  • Loading branch information...
commit af715dbc926a785412380b05e876754b913e4ac6 1 parent d8c7afd
@durin42 durin42 authored
Showing with 7 additions and 0 deletions.
  1. +5 −0 public/js/presenter.js
  2. +2 −0  public/js/showoff.js
View
5 public/js/presenter.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()
View
2  public/js/showoff.js
@@ -228,6 +228,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();
}
Please sign in to comment.
Something went wrong with that request. Please try again.