Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More aggresively hide the ObjectiveTrackerFrame #79

Merged
merged 3 commits into from
Aug 8, 2024

Conversation

Numynum
Copy link
Contributor

@Numynum Numynum commented Aug 7, 2024

now blizzard can :Show/:Hide the objective tracker as much as they like. once it's hidden, it stays hidden until you decide it should no longer be hidden

Copy link
Owner

@happenslol happenslol left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh wow, that's actually very smart. Does the frame stay parented indefinitely?

There's a few other places where we hide the frame apart from the WarpDeplete:Show, those need to be removed too if this just universally works. HideBlizzardObjectiveTracker should pretty much only be called in WarpDeplete:Show, I think.

Core.lua Outdated Show resolved Hide resolved
@happenslol
Copy link
Owner

CC @XCreative @Erieeroot and @rootkit1337tv, since you guys were a part of the original issue/fix. If anyone could get a run or 2 done using this branch and check if everything is working correctly, I'd be very thankful 🙏

@Numynum
Copy link
Contributor Author

Numynum commented Aug 7, 2024

parents persist until /reload or changed through SetParent (which blizzard almost never does for any frame), so yeah, this approach is perfect when trying to hide blizzard frames 🙂

I haven't really dug into the rest of the addon's code, so it might be simpler to make required adjustments yourself, but I can try clean things up a bit more when I get time later 🙂

@happenslol
Copy link
Owner

Right, I'll do the adjustments then and you can make sure they work correctly. Give me a sec

@happenslol
Copy link
Owner

Alright, done. Let's get this tested and merged!

@Numynum
Copy link
Contributor Author

Numynum commented Aug 7, 2024

I'll play a few keys with it tonight (EU) and let you know 👍

@Erieeroot
Copy link

Erieeroot commented Aug 7, 2024

Same here I will do some keys tonight and let you know. I grabbed that CPU addon you mentioned so I will try to monitor that as well, but so far I have not had a single issue in keys so fingers crossed.

@happenslol
Copy link
Owner

Same here I will do some keys tonight and let you know. I grabbed that CPU addon you mentioned so I will try to monitor that as well, but so far I have not had a single issue in keys so fingers crossed.

For this branch, you won't have to monitor the CPU at all, since this is an actual fix and not just a hack.

@Numynum
Copy link
Contributor Author

Numynum commented Aug 7, 2024

worked fine for my keys 👍

@happenslol
Copy link
Owner

Sounds good, I'll merge this tomorrow then.

@Erieeroot
Copy link

For what it's worth, tried all the usual suspects and so far working fine here too :)

@happenslol happenslol merged commit 746bbdd into happenslol:main Aug 8, 2024
@Numynum Numynum deleted the patch-1 branch August 8, 2024 10:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants