text entry, partial support

This commit is contained in:
airstruck
2015-11-01 17:28:53 -05:00
parent c069c8d310
commit 0a36a6b411
7 changed files with 170 additions and 11 deletions

View File

@@ -131,6 +131,7 @@ end
function Input:handlePressEnd (button, x, y, widget, accelerator)
local widget = widget or self.layout:getWidgetAt(x, y)
local originWidget = self.pressedWidgets[button]
if not originWidget then return end
originWidget.pressed = nil
widget:bubbleEvent('PressEnd', {
origin = originWidget,