From 6143edbbe07b97d7359c98428525544bf45e2c71 Mon Sep 17 00:00:00 2001 From: ocean Date: Fri, 8 Apr 2005 14:30:20 +0000 Subject: [PATCH] * 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 --- ext/tk/ChangeLog.tkextlib | 5 +++++ ext/tk/sample/tkextlib/treectrl/random.rb | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ext/tk/ChangeLog.tkextlib b/ext/tk/ChangeLog.tkextlib index b6aaa75bd6..e943082ab7 100644 --- a/ext/tk/ChangeLog.tkextlib +++ b/ext/tk/ChangeLog.tkextlib @@ -1,3 +1,8 @@ +2005-04-08 ocean + + * sample/tkextlib/treectrl/random.rb: fixed typo. (drop node outside of + widget, or reenter widget while draggging) + 2005-04-08 ocean * sample/tkextlib/treectrl/outlook-newgrounp.rb: image had disappered when diff --git a/ext/tk/sample/tkextlib/treectrl/random.rb b/ext/tk/sample/tkextlib/treectrl/random.rb index c10ec9d2af..2c9e614aa5 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