tukui-org/Tukui

Inappropriate type of an object

Opened this issue · 1 comments

local AltPowerBar = CreateFrame("Button", "TukuiAltPowerBar", T.PetHider)

Just curious whether it's ok that the powerbar is declared as a button

function AltPowerBar:Enable()

Enable method of a button type is overridden consequently.

While you are prob right the method, tukz never calls for an enable or disable to enable/disable the button as he just shows/hides the frame... That would be up to tukz to decide