we should disable double tap by default

Currently only column-zoom mode in PDF uses double tap gesture.
This commit is contained in:
chrox
2016-06-26 22:35:29 +08:00
parent bfa4bcd01b
commit 3d7fe1002c

View File

@@ -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)