156861c - Non-raid unit frame fixes
[wowui.git] / kehys / player.lua
index 20f4c4a..08ea8fe 100644 (file)
@@ -37,7 +37,6 @@ local function initPlayer(parent, width, height, update, event)
     f.unit = "player";
     f.displayed = "player";
     f.vehicle = "vehicle"
-    f.nonraid = true;
     f.prev = {};
 
     playerUpdate = function()
@@ -63,7 +62,7 @@ local function initPlayer(parent, width, height, update, event)
     f.health:SetPoint("TOPLEFT", f.background, "TOPLEFT");
     f.health:SetPoint("BOTTOMLEFT", f.background, "LEFT", 0, -height/8);
     f.health:SetTexture(barTexture);
-    f.health:SetVertexColor(0.8, 0.8, 0.8);
+    f.health:SetVertexColor(0.7, 0.7, 0.7);
     f.health:Hide();
     f.mana = f:CreateTexture(nil, "BORDER");
     f.mana:SetPoint("TOPLEFT", f.background, "LEFT", 0, -height/8);
@@ -142,7 +141,6 @@ local function initPet(parent, width, height, update, event)
     f.unit = "pet";
     f.displayed = "pet";
     f.vehicle = "player"
-    f.nonraid = true;
     f.prev = {};
 
     petUpdate = function()
@@ -169,7 +167,7 @@ local function initPet(parent, width, height, update, event)
     f.health:SetPoint("TOPLEFT", f.background, "TOPLEFT");
     f.health:SetPoint("BOTTOMLEFT", f.background, "BOTTOMLEFT");
     f.health:SetTexture(barTexture);
-    f.health:SetVertexColor(0.8, 0.8, 0.8);
+    f.health:SetVertexColor(0.7, 0.7, 0.7);
     f.health:Hide();
     f.shield = f:CreateTexture(nil, "BORDER");
     f.shield:SetPoint("TOPLEFT", f.health, "TOPRIGHT");