Thread Tools Display Modes
11-03-10, 10:31 AM   #1
azsh
A Fallenroot Satyr
Join Date: May 2010
Posts: 21
Eclipse bar + vechicle

I have major problem with this bar after i get into vehicle only texture hide but not entire element and leaves some strange black border ;/ I don't no why.



my lua code
Code:
        if playerClass == "DRUID" then
            local eclipseBar = CreateFrame('Frame', nil, self)
            eclipseBar:SetPoint('TOPLEFT', self, 'BOTTOMLEFT', 23, 56)
            eclipseBar:SetSize(cfg.widthP-45, 12)
            eclipseBar:SetBackdrop{edgeFile = cfg.glowtex2, edgeSize = 5, insets = {left = 3, right = 3, top = 3, bottom = 3}}
            eclipseBar:SetBackdropColor(0, 0, 0, 0)
            eclipseBar:SetBackdropBorderColor(0, 0, 0, 0.8)    
            
            local lunarBar = CreateFrame('StatusBar', nil, eclipseBar)
            lunarBar:SetPoint('LEFT', eclipseBar, 'LEFT', 0, 0)
            lunarBar:SetSize(cfg.widthP-42, 12)
            lunarBar:SetStatusBarTexture(cfg.PPtex)
            lunarBar:SetStatusBarColor(1, 3/5, 0)
            eclipseBar.LunarBar = lunarBar
            
            local solarBar = CreateFrame('StatusBar', nil, eclipseBar)
            solarBar:SetPoint('LEFT', lunarBar:GetStatusBarTexture(), 'RIGHT', 0, 0)
            solarBar:SetSize(cfg.widthP-42, 12)
            solarBar:SetStatusBarTexture(cfg.PPtex)
            solarBar:SetStatusBarColor(0, 3/5, 1)
            eclipseBar.SolarBar = solarBar

            local eclipseBarText = solarBar:CreateFontString(nil, 'OVERLAY')
            eclipseBarText:SetPoint('CENTER', eclipseBar, 'CENTER', 0, 0)
            eclipseBarText:SetFont(cfg.NumbFont, cfg.NumbFS, "THINOUTLINE")
            self:Tag(eclipseBarText, '[eecc]')

            self.EclipseBar = eclipseBar
        end
  Reply With Quote
11-03-10, 11:19 AM   #2
yj589794
A Rage Talon Dragon Guard
AddOn Author - Click to view addons
Join Date: Mar 2009
Posts: 314
hmmm, looks odd. I'll fire up the Beta client tonight and give it a test myself.
  Reply With Quote
11-03-10, 01:46 PM   #3
yj589794
A Rage Talon Dragon Guard
AddOn Author - Click to view addons
Join Date: Mar 2009
Posts: 314
Just checked it on the Beta and this does occur as you described. I'll raise an issue tracker on GitHub and work on a fix.
  Reply With Quote

WoWInterface » Featured Projects » oUF (Otravi Unit Frames) » Eclipse bar + vechicle


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off