mirror of
https://github.com/TangentFoxy/Pop.Box.git
synced 2024-12-15 12:44:20 +00:00
fixed indentation error
This commit is contained in:
parent
727b953d6d
commit
b7ec6cc77f
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user