oUF

99.9k Downloads

Druid shifted mana bar element

Ennie opened this issue ยท 7 comments

commented

Hi, haste!
Can you look at my code and integrate it in oUF if you like?
https://gist.github.com/718131
thanks

commented

i think this element should be included in oUF as the blizz player frame handles this.

commented

the patch from my last comment is obsolete, i've made pull request.

commented

Getting 404 on that one.

commented

apparently just github failing on linking.

commented

Some quick comments:

  • You don't check for unit in: UNIT_POWER.
  • You don't do any coloring like Health and Power.
  • You have a post-update, but no pre.
  • No need to check for oUF, just do like the rest of the internal elements.
  • Post it as a format-diff, so I can commit it in your name.
commented

OK, i'll fix that.

commented

new patch, cleaned up and modified with your comments:
https://gist.github.com/718131