add keyboard focus

This commit is contained in:
airstruck
2015-10-31 04:21:50 -04:00
parent b3b4f90b23
commit 1e668f8f09
13 changed files with 233 additions and 79 deletions

View File

@@ -69,7 +69,7 @@ function Style:eachName (object)
end
return function ()
if not checkLookupProp() then return end
local specialName = getSpecialName { 'pressed', 'hovered' }
local specialName = getSpecialName { 'pressed', 'focused', 'hovered' }
if specialName then return specialName end
lookupPropIndex = lookupPropIndex + 1
return lookupProp[lookupPropIndex]