mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-07 21:24:59 +00:00
Fixed bug with callback procs in class PictureEx
This commit is contained in:
@@ -117,7 +117,7 @@ class PictureEx
|
||||
end
|
||||
|
||||
def callback(cb)
|
||||
if cb.is_a?(Proc); proc.call(self)
|
||||
if cb.is_a?(Proc); cb.call(self)
|
||||
elsif cb.is_a?(Array); cb[0].method(cb[1]).call(self)
|
||||
elsif cb.is_a?(Method); cb.call(self)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user