Thread Tools Display Modes
Prev Previous Post   Next Post Next
10-30-22, 06:07 PM   #1
weltensturm
A Defias Bandit
 
weltensturm's Avatar
Join Date: Oct 2022
Posts: 2
Moving castbar spreads taint once player enters Edit Mode

I am writing an addon that tries to incorporate the cast bar into the player frame, and I would like to use the existing blizzard castbar instead of rolling my own. The problem appears when I try to SetPoint it.

It works well enough, but once the player enters Edit Mode, Taint spreads like crazy and at some point after I can't even press spells anymore. I suppose this happens if you SetPoint any of the user editable frames. Resizing works fine, though. Scaling probably not, but scaling children works fine.

I could work around this by just moving the children instead of the top frame, but the castbar is a StatusBar and moving the health texture directly wouldn't work because that would break its functionality.

Is there any way to move it without angering Edit Mode? I would also only move it when it's set to be attached to the player frame.

Here's what it looks like when it works:

  Reply With Quote
 

WoWInterface » AddOns, Compilations, Macros » AddOn Help/Support » Moving castbar spreads taint once player enters Edit Mode

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off