public
Description: WoW Addon - Better minimap blips
Homepage: http://www.tekkub.net/
Clone URL: git://github.com/tekkub/blipstick.git
Click here to lend your support to: blipstick and make a donation at www.pledgie.com !
Fix blip texture not applying correctly after reload
tekkub (author)
Fri Apr 25 19:07:32 -0700 2008
commit  3535c3228afc5c072b54f9b15a8b5d16c02b1719
tree    bbc2c225046f5ae57ec617cefae45c3ce3bdefa8
parent  544611774c4f49969aea9c7371c66b974da24b38
...
19
20
21
22
 
23
24
 
25
26
27
...
52
53
54
55
 
56
57
58
...
19
20
21
 
22
23
 
24
25
26
27
...
52
53
54
 
55
56
57
58
0
@@ -19,9 +19,9 @@ frame:RegisterEvent("ADDON_LOADED")
0
 frame:SetScript("OnEvent", function (self, event, addon)
0
   if addon ~= "Blipstick" then return end
0
 
0
- BlipStickDB = BlipStickDB or {texture = "SmallExclaim"}
0
+ BlipStickDB = BlipStickDB or {texture = path.."SmallExclaim"}
0
   self.db = BlipStickDB
0
- Minimap:SetBlipTexture(self.db.texture == "Default" and DEFAULTPATH or path..self.db.texture)
0
+ Minimap:SetBlipTexture(self.db.texture)
0
 
0
   self:UnregisterEvent("ADDON_LOADED")
0
   self:SetScript("OnEvent", nil)
0
@@ -52,7 +52,7 @@ frame:SetScript("OnShow", function(frame)
0
     row:SetPoint("LEFT", frame, "LEFT", EDGEGAP, 0)
0
     row:SetPoint("RIGHT", frame, "RIGHT", -EDGEGAP, 0)
0
 
0
- row:SetChecked(name == frame.db.texture)
0
+ row:SetChecked(texture == frame.db.texture)
0
     row.texture = texture
0
     row:SetScript("OnClick", OnClick)
0
 

Comments

    No one has commented yet.