Packing now works! (Broke clicked_#{button}_mouse_button events)

This commit is contained in:
2019-03-02 08:58:33 -06:00
parent cfad5eafab
commit 9e8301cd44
5 changed files with 46 additions and 9 deletions

View File

@@ -33,6 +33,7 @@ module CyberarmEngine
if new_mouse_over
new_mouse_over.publish(:enter) if new_mouse_over != @mouse_over
new_mouse_over.publish(:hover)
# puts "#{new_mouse_over.class}[#{new_mouse_over.value}]: #{new_mouse_over.x}:#{new_mouse_over.y} #{new_mouse_over.width}:#{new_mouse_over.height}" if new_mouse_over != @mouse_over
end
@mouse_over.publish(:leave) if @mouse_over && new_mouse_over != @mouse_over
@mouse_over = new_mouse_over