Permalink
Browse files

Fixed reverse slideActions with two parameter closures

  • Loading branch information...
1 parent 828b299 commit 3bb17b8d9ee15923f1709e00a39a0b4378444872 @karfunkel karfunkel committed Nov 1, 2011
Showing with 4 additions and 1 deletion.
  1. +4 −1 griffon-app/views/griffon/plugins/slideware/DeckPlayerView.groovy
@@ -83,7 +83,10 @@ previousSlideActions = {
deck.layout.previous(deck)
} else {
currentAction--
- slideActions[page][currentAction].call(true)
+ if(slideActions[page][currentAction].maximumNumberOfParameters == 2)
+ slideActions[page][currentAction].call(true, false)
+ else
+ slideActions[page][currentAction].call(true)
}
}
}

0 comments on commit 3bb17b8

Please sign in to comment.