Skip to content

Commit

Permalink
Merge pull request #16 from gastonfig/state-methods
Browse files Browse the repository at this point in the history
Replace deprecated state methods.
  • Loading branch information
ajimix authored Jun 10, 2017
2 parents 93d7fda + be04ea3 commit e4f2f2f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions input.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,9 @@ class exports.Input extends Layer
if !Utils.isMobile() && options.virtualKeyboard is true
@input.addEventListener "focus", ->
exports.keyboardLayer.bringToFront()
exports.keyboardLayer.states.next()
exports.keyboardLayer.stateCycle()
@input.addEventListener "blur", ->
exports.keyboardLayer.states.switch "default"
exports.keyboardLayer.animate("default")

updatePlaceholderColor: (color) ->
@placeholderColor = color
Expand Down

0 comments on commit e4f2f2f

Please sign in to comment.