diff options
author | nagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-03-09 13:57:59 +0000 |
---|---|---|
committer | nagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-03-09 13:57:59 +0000 |
commit | 827a62edd7f92e32ea2d953944401d7d647c5389 (patch) | |
tree | afeba24401f4e04dc15d5becf9f1ab17d45b0557 /ext/tk/sample/demos-jp/floor.rb | |
parent | 55054497934bb9759aa400ef47042f33b34d0b9a (diff) | |
download | ruby-827a62edd7f92e32ea2d953944401d7d647c5389.tar.gz |
* ext/tk/sample/demo-jp/floor.rb: bug on scrollbar assignment
* ext/tk/sample/demo-jp/floor2.rb: ditto
* ext/tk/sample/demo-en/floor.rb: ditto
* ext/tk/sample/demo-en/floor2.rb: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8131 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/tk/sample/demos-jp/floor.rb')
-rw-r--r-- | ext/tk/sample/demos-jp/floor.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/tk/sample/demos-jp/floor.rb b/ext/tk/sample/demos-jp/floor.rb index d258bb6486..b029580bd6 100644 --- a/ext/tk/sample/demos-jp/floor.rb +++ b/ext/tk/sample/demos-jp/floor.rb @@ -1664,8 +1664,8 @@ else pack('expand'=>'yes', 'fill'=>'both', 'padx'=>1, 'pady'=>1) - v.command(proc{|*args| f.yview(*args)}) - h.command(proc{|*args| f.xview(*args)}) + v.command(proc{|*args| $floor_canvas.yview(*args)}) + h.command(proc{|*args| $floor_canvas.xview(*args)}) } end |