fixed indentation error

This commit is contained in:
Paul Liverman III 2017-08-13 18:53:35 -07:00
parent 727b953d6d
commit b7ec6cc77f

View File

@ -285,9 +285,9 @@ pop.mousemoved = (x, y, dx, dy, element=pop.screen) ->
if pop.hovered != previously_hovered if pop.hovered != previously_hovered
log " pop.hovered: #{pop.hovered} (#{pop.hovered.data.type})" log " pop.hovered: #{pop.hovered} (#{pop.hovered.data.type})"
if previously_hovered and previously_hovered.hovered -- previously_hovered can be a false boolean if previously_hovered and previously_hovered.hovered -- previously_hovered can be a false boolean
previously_hovered\hovered false previously_hovered\hovered false
if pop.hovered.hovered if pop.hovered.hovered
pop.hovered\hovered true pop.hovered\hovered true
if pop.focused and pop.focused.mousemoved if pop.focused and pop.focused.mousemoved
return pop.focused\mousemoved x - pop.focused.data.x, y - pop.focused.data.y, dx, dy return pop.focused\mousemoved x - pop.focused.data.x, y - pop.focused.data.y, dx, dy