Class: Hokusai::MouseMoveEvent
- Inherits:
-
MouseEvent
- Object
- Event
- MouseEvent
- Hokusai::MouseMoveEvent
- Defined in:
- ui/src/hokusai/events/mouse.rb
Instance Attribute Summary
Attributes inherited from MouseEvent
Attributes inherited from Event
Instance Method Summary collapse
Methods inherited from MouseEvent
#delta, #initialize, #left, #middle, #mouse, #pos, #right, #scroll, #scroll_delta, #to_json
Methods inherited from Event
#bubble, #matches, name, #name, #stop, #to_json
Constructor Details
This class inherits a constructor from Hokusai::MouseEvent
Instance Method Details
#capture(block, _) ⇒ Object
77 78 79 80 81 |
# File 'ui/src/hokusai/events/mouse.rb', line 77 def capture(block, _) if matches(block) #&& (delta.y != 0.0000000000 && delta.x != 0.0000000000) captures << block end end |