Originally Posted by damafan
I am having some problem with the nameplate UI. When enemy target cast something, the height of the casting bar on the nameplate is borked, resulting in thick cast bar line. Any one encounter this issue?
|
I developed a simple workaround for the castbar height issue. Perhaps one of the authors could figure out why this works and do it the right way since I have no clue what I'm doing in LUA. Thanks for all of your hard work btw, it's very much appreciated!
In the file nibRealUI/Modules/Nameplates.lua:
162a163
> self.barFrame.castBar.healthBarSaved = self.barFrame.healthBar
165c166
< self.barFrame.castBar:SetHeight(6)--db.barsize.normal.height + db.resolution[ndbc.resolution].height)
---
> self.barFrame.castBar:SetHeight(db.barsize.normal.height + db.resolution[ndbc.resolution].height)
200c201,206
<
---
>
> self:ClearAllPoints()
> self:SetPoint("TOP", self.healthBarSaved, "BOTTOM", 0, -2)
> self:SetHeight(db.barsize.normal.height + db.resolution[ndbc.resolution].height)
> self:SetWidth(db.barsize.normal.width + db.resolution[ndbc.resolution].width)
>