/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

  1. local T, C, L = unpack(select(2, ...)) -- Import: T - functions, constants, variables; C - config; L - locales
  2. local pWidth, pHeight = C.databars.settings.width, C.databars.settings.height
  3. for i = 1, #T.databars do
  4. if not T.databars[i]:IsShown() then
  5. T.databars[i]:SetHeight(C.databars.settings.padding)
  6. end
  7. end