Merge pull request #2108 from chrox/fix_1714

various fixes and enhancements
pull/2109/head
Qingping Hou 8 years ago committed by GitHub
commit 1acf4b0b32

@ -1 +1 @@
Subproject commit 3d83411042efcb9bad6c1829021f55f5341715da
Subproject commit bd1a6d97e23faf9a669dab246c67aa7934ebbdcd

@ -185,8 +185,6 @@ function UIManager:close(widget, refreshtype, refreshregion)
-- first send close event to widget
widget:handleEvent(Event:new("CloseWidget"))
-- then remove all reference to that widget on stack and update
-- disable_double_tap accordingly
Input.disable_double_tap = false
for i = #self._window_stack, 1, -1 do
if self._window_stack[i].widget == widget then
table.remove(self._window_stack, i)

@ -177,6 +177,7 @@ function InputText:delChar()
end
function InputText:clear()
self.charpos = nil
self:initTextBox("")
UIManager:setDirty(self.parent, function()
return "ui", self[1][1].dimen

Loading…
Cancel
Save