diff options
author | ocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-04-08 14:30:20 +0000 |
---|---|---|
committer | ocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-04-08 14:30:20 +0000 |
commit | f5f59c4fdc4fd69f325167d073dbd7367f41212b (patch) | |
tree | a61e4ecf7450085c8522693fb68f52fe5b8767b8 /ext/tk | |
parent | 8910a399b860f2078030d5e397f06351f72e8fcb (diff) | |
download | ruby-f5f59c4fdc4fd69f325167d073dbd7367f41212b.tar.gz ruby-f5f59c4fdc4fd69f325167d073dbd7367f41212b.tar.xz ruby-f5f59c4fdc4fd69f325167d073dbd7367f41212b.zip |
* ext/tk/sample/tkextlib/treectrl/random.rb: fixed typo. (drop node outside of
widget, or reenter widget while draggging)
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8280 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/tk')
-rw-r--r-- | ext/tk/ChangeLog.tkextlib | 5 | ||||
-rw-r--r-- | ext/tk/sample/tkextlib/treectrl/random.rb | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/ext/tk/ChangeLog.tkextlib b/ext/tk/ChangeLog.tkextlib index b6aaa75bd..e943082ab 100644 --- a/ext/tk/ChangeLog.tkextlib +++ b/ext/tk/ChangeLog.tkextlib @@ -1,5 +1,10 @@ 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 node was selected. diff --git a/ext/tk/sample/tkextlib/treectrl/random.rb b/ext/tk/sample/tkextlib/treectrl/random.rb index c10ec9d2a..2c9e614aa 100644 --- a/ext/tk/sample/tkextlib/treectrl/random.rb +++ b/ext/tk/sample/tkextlib/treectrl/random.rb @@ -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 |