okami 0.0.992 → 0.0.993
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/okami/mouse.rb +3 -2
- metadata +1 -1
data/lib/okami/mouse.rb
CHANGED
@@ -38,8 +38,9 @@ module Okami::Mouse
|
|
38
38
|
not onscreen?
|
39
39
|
end
|
40
40
|
|
41
|
-
def show; $window.cursor_visible = true
|
42
|
-
def hide; $window.cursor_visible = false
|
41
|
+
def show; $window.cursor_visible = true end
|
42
|
+
def hide; $window.cursor_visible = false end
|
43
|
+
def visible=bool; $window.cursor_visible = bool end
|
43
44
|
|
44
45
|
def add_key_down_listener listener_method
|
45
46
|
@@key_down_listeners[ listener_method.receiver ] = listener_method
|