Skip to content

Commit

Permalink
Fix #254 transition_null properly returns params in setup_params
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasp85 committed Jan 2, 2019
1 parent 5448d6e commit 65f76c5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions R/transition-null.R
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ transition_null <- function() {
TransitionNull <- ggproto('TransitionNull', Transition,
setup_params = function(self, data, params) {
params$n_layers <- length(data)
params
},
expand_data = function(self, data, type, id, match, ease, enter, exit, params, layer_index) {
data
Expand Down

0 comments on commit 65f76c5

Please sign in to comment.