Closed athom closed 12 years ago
Yeah, in Green Shoes, don't use remove
method, just use clear
method, please.
hi, ashbb after simply adding some code the 288 in helper_methods.rb and it works. maybe it could avoid other bugs however, I will follow your advice to use clear in stead of remove. thanks for your info.
original:
app.mccs.each do |e|
next if e.is_a? Slot
e.real.window.cursor = ARROW if e.real.window
(e.real.window.cursor = HAND; return) if mouse_on? e
end
modified:
app.mccs.each do |e|
next if e.is_a? Slot
e.real.window.cursor = ARROW if e.real.window
(e.real.window.cursor = HAND; return) if mouse_on? e and e.real.window
end
Hi yeer,
Good code! Could you send me a pull request? I'll merge. I'd like to see your name in the commit list on GitHub. Thanks!
the other events like hover, release is all ok, but not click.