add menus

This commit is contained in:
airstruck
2015-11-08 15:06:16 -05:00
parent 21ace2a243
commit 7bcf8ffbda
16 changed files with 442 additions and 99 deletions

View File

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