And fix several other bugs introduced in #2028:
1. hint messages are back instead of the "Demo hint"
2. cursor now only presents in the focused inputbox in a multiinput dialog
3. moving cursor now works in multiinput dialog
This commit is contained in:
chrox committed 2016-06-26 01:33:18 +08:00
1 parent eb2d4e9ede
commit 6b43233c4a
3 files changed
+34 -12

No files matched your search

+8
View File
@@ -72,6 +72,14 @@ function ScrollTextWidget:init()
end
end
function ScrollTextWidget:unfocus()
self.text_widget:unfocus()
end
function ScrollTextWidget:focus()
self.text_widget:focus()
end
function ScrollTextWidget:scrollText(direction)
if direction == 0 then return end
local low, high