View Single Post
10-28-12, 09:17 AM   #7
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
The code in my post says:

1. Move the player castbar so that the middle of its bottom edge is 100 pixels below the center of the screen.

2. Move the target castbar so that the middle of its top edge is 112 pixels below the center of the screen.

Since 112 pixels below the center of the screen is further toward the bottom of the screen than 100 pixels, the top edge of the target castbar is 12 pixels further down the screen than the bottom edge of the player castbar.

If you are seeing something else, you probably pasted the code in the wrong place, or tried to change something and did it wrong. Just download a clean copy and try again. If it still doesn't look right, post a screenshot and your modified core.lua file.
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
  Reply With Quote