Thread: RealUI
View Single Post
11-28-12, 08:38 AM   #122
Xellahmai
A Kobold Labourer
Join Date: Nov 2012
Posts: 1
Originally Posted by damafan View Post
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)
>

Last edited by Xellahmai : 11-28-12 at 08:41 AM.