Skip to content

Commit

Permalink
only auto-show learning pane if slide index is 0
Browse files Browse the repository at this point in the history
  • Loading branch information
jjallaire committed Jan 24, 2013
1 parent 4398808 commit deed3a4
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,9 @@ public void onFileChange(FileChangeEvent event)

public void initialize(LearningState learningState)
{
view_.bringToFront();
if (learningState.getSlideIndex() == 0)
view_.bringToFront();

init(learningState);
}

Expand Down

0 comments on commit deed3a4

Please sign in to comment.