| 赞 | 0 |
| VIP | |
| 好人卡 | |
| 积分 | 1 |
| 经验 | |
| 最后登录 | 2017-2-4 |
| 在线时间 | 10 小时 |
月下可怜人
- 梦石
- 0
- 星屑
- 50
- 在线时间
- 10 小时
- 注册时间
- 2005-11-23
- 回帖
- 3667

|
发表于 2007-6-22 03:45:42
|
显示全部楼层
LZ可以尝试自己调节下红色部分.
def update_cursor_rect
if @index < 0
self.cursor_rect.empty
else
tpy = @index * 112 - self.oy
self.cursor_rect.set(0, tpy, self.width-32, 96)
if @index < @top_row
@top_row = @index
self.oy = @top_row *112
end
if @index > @top_row+3
@top_row = @index-3
self.oy = @top_row *112
end
end
end
系统信息:本贴由楼主认可为正确答案,66RPG感谢您的热情解答~ |
|