okami 0.0.992 → 0.0.993

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/okami/mouse.rb +3 -2
  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 end
42
- def hide; $window.cursor_visible = false end
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: okami
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.992
4
+ version: 0.0.993
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: