1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* ext/tk/sample/tkextlib/treectrl/random.rb: fixed typo. (drop node outside of

widget, or reenter widget while draggging)


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8280 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
ocean 2005-04-08 14:30:20 +00:00
parent ee0460d5a1
commit 6143edbbe0
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2005-04-08 ocean <ocean@ruby-lang.org>
* sample/tkextlib/treectrl/random.rb: fixed typo. (drop node outside of
widget, or reenter widget while draggging)
2005-04-08 ocean <ocean@ruby-lang.org>
* sample/tkextlib/treectrl/outlook-newgrounp.rb: image had disappered when

View file

@ -455,7 +455,7 @@ def randomAutoScanCheck(t, x, y)
x1, y1, x2, y2 = t.contentbox
margin = t.winfo_pixels(t.scrollmargin)
if x < x1 + margin || x >= x2 - margin || y < y1 + margin || y >= y2 - margin
if ! @Priv.exist?(:auroscan, :afterId, t)
if ! @Priv.exist?(:autoscan, :afterId, t)
if y >= y2 - margin
t.yview(:scroll, 1, :units)
delay = t.yscrolldelay