BasicUI
3 Attachment(s)
So I've been having a lot of issue with [ADDON_ACTION_BLOCKED] errors, I think its mostly do to my Datapanel and were its placed (below the actionbars), which in turns makes me need to lift them up and I believe this is what is messing with stuff.
So I'm trying something new.... Below are screen shots of the new location for the datapanel/datatexts tell me what you think if you like it or not... Ill post a before and after screenshot for those that have not seen it yet. Coke |
Quote:
|
Quote:
Code:
function Datatext:SetDataPanel() And BAM!!!!!!!!!!! everything moves without any problems. Top or Bottom. Thanks again for saving my arse. /EDIT EDIT#2: Not sure why, im not getting any errors from bug sack but my target frame keep wondering over above my Playerframe (see screenshot) it only seems to happen after I get in combat (as something attacks me). LibJostle-3.0 that I'm using. Datatext.lua this is the current datatext file im using. The only think I change was added the LibJostle to my addon and the little code. If I disable the datatex in the options it does not move my target frame. Coke Edit#3 Its accually the Lib it self cause even without my datapanel the target frame moves over the player frame. Coke |
Just right-click on the target frame, unlock it, and move it where you want it to go. I don't think Jostle was ever updated to handle the movable default unitframes, so just don't tell it to move stuff away from the top. Move the unit frames yourself (or write code to simulate moving them yourself) and move the minimap yourself since that's trivial.
|
Quote:
Code:
local blizzardFrames = { Thanks again for the suggestion. Coke |
Quote:
|
Quote:
Thanks for the heads up. Coke |
I just looked through the Jostle code, and the solution to the "problem" is exactly what I already theorized it would be -- Jostle does not attempt to move frames that are flagged as user-placed, so if you move the player and target frames yourself, Jostle will not touch them.
To do it manually, right-click the frame, select the unlock option in the menu, drag the frame to the desired location, right-click again, and select the lock option in the menu. To do it programmatically, call the same methods that are ultimately called when you perform the above actions: Code:
TargetFrame:SetUserPlaced(true) Code:
/dump tostringall(TargetFrame:GetPoint(1)) |
All times are GMT -6. The time now is 01:27 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI