mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 14:50:13 -05:00
- added ArcHUD clickable area fixes to the target health bar as well
This commit is contained in:
@ -565,6 +565,14 @@ function IceTargetHealth.prototype:CreateBackground(redraw)
|
||||
if self:GetMyBarTexture() == "HiBar" then
|
||||
self.frame.button:SetPoint("TOPRIGHT", self.frame, "TOPRIGHT", 0, 0)
|
||||
self.frame.button:SetPoint("BOTTOMLEFT", self.frame, "BOTTOMRIGHT", -1 * self.frame:GetWidth(), 0)
|
||||
elseif self:GetMyBarTexture() == "ArcHUD" then
|
||||
if self.moduleSettings.side == IceCore.Side.Left then
|
||||
self.frame.button:SetPoint("TOPLEFT", self.frame, "TOPLEFT")
|
||||
self.frame.button:SetPoint("BOTTOMRIGHT", self.frame, "BOTTOMLEFT", self.frame:GetWidth() / 3, 0)
|
||||
else
|
||||
self.frame.button:SetPoint("TOPRIGHT", self.frame, "TOPRIGHT")
|
||||
self.frame.button:SetPoint("BOTTOMLEFT", self.frame, "BOTTOMRIGHT", -1 * self.frame:GetWidth() / 3, 0)
|
||||
end
|
||||
else
|
||||
if self.moduleSettings.side == IceCore.Side.Left then
|
||||
self.frame.button:SetPoint("TOPRIGHT", self.frame, "TOPRIGHT", -6, 0)
|
||||
|
Reference in New Issue
Block a user