PageRenderTime 206ms CodeModel.GetById 120ms app.highlight 4ms RepoModel.GetById 77ms app.codeStats 1ms

/Tukui/modules/databars/postCreation.lua

http://github.com/Asphyxia/Tukui
Lua | 8 lines | 7 code | 1 blank | 0 comment | 2 complexity | 1251b81f51fbe7985c6b42f9e8a10927 MD5 | raw file
1local T, C, L = unpack(select(2, ...)) -- Import: T - functions, constants, variables; C - config; L - locales
2
3local pWidth, pHeight = C.databars.settings.width, C.databars.settings.height
4for i = 1, #T.databars do
5	if not T.databars[i]:IsShown() then
6		T.databars[i]:SetHeight(C.databars.settings.padding)
7	end
8end