LunaUnitFrames

LunaUnitFrames

268k Downloads

Overridden get methods in Options.lua dysfunctional

Anghammar opened this issue ยท 1 comments

commented

Some options in for example raidpet or maintanktarget frames are disabled and are supposedly reading their values from other frames. However this does not seem to function correctly when the actual frames are created. Examples of dysfunction lines are:
get = function(info) return LUF.db.profile.units["raid"].attribPoint end,
get = function() return LUF.db.profile.units.maintank.unitsPerColumn end,
get = function(info) return LUF.db.profile.units["raidpet"].attribAnchorPoint end,

Commenting out the "get" line in Options.lua under corresponding options in maintanktarget and raidpet and also enabling that option to be modified in the UI is a temporary fix to this problem.

commented

Hmm, commenting out the line for raidpet does not really fix the issues with that frame in particular. It seems that attribAnchorPoint is ignored and the columns will grow to the left even when set to right.