Commit 13a0b92e authored by 神楽坂玲奈's avatar 神楽坂玲奈

对话框换行&滚动

parent 031d85f2
File deleted
...@@ -75,7 +75,6 @@ class Window_Chat < Window_Scrollable ...@@ -75,7 +75,6 @@ class Window_Chat < Window_Scrollable
end end
def mousemoved(x,y) def mousemoved(x,y)
if y-@y < 31 and (x-@x) < @channels.size * 100 if y-@y < 31 and (x-@x) < @channels.size * 100
#p '**********',@channels, (x-@x) / 100
self.index = @channels[(x-@x) / 100] self.index = @channels[(x-@x) / 100]
else else
self.index = nil self.index = nil
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment