mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-06 06:01:46 +00:00
Fixed event movement checks ignoring ledges if they're not on the top layer, fixed Sketch not working, fixed a couple of other minor bugs, Rubocop-suggested tweaks
This commit is contained in:
@@ -141,7 +141,7 @@ def pbTrackPopupMenu(commands)
|
||||
menuwindow.update
|
||||
hit=menuwindow.hittest
|
||||
menuwindow.index=hit if hit>=0
|
||||
if Input.trigger?(Input::MOUSELEFT) || Input.trigger?(Input::MOUSELEFT) # Left or right button
|
||||
if Input.trigger?(Input::MOUSELEFT) || Input.trigger?(Input::MOUSERIGHT) # Left or right button
|
||||
menuwindow.dispose
|
||||
return hit
|
||||
end
|
||||
@@ -349,13 +349,6 @@ class InvalidatableSprite < Sprite
|
||||
# the sprite is invalid, to allow it to be explicitly called.
|
||||
def refresh
|
||||
end
|
||||
|
||||
# Updates the logic on the sprite, for example, in response
|
||||
# to user input, and invalidates it if necessary. This should
|
||||
# be called only once per frame.
|
||||
def update
|
||||
super
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user