Comments (10)
So the issue is that RemoveButton is bypassing the group's disabled state and applying the default skin when it shouldn't, right?
Edit: Since you seem to have a testing environment in place already, try the following:
Change this line in AddButton:
From:
Parent:RemoveButton(Button)
to:
ButtonData = ButtonData or Parent.Buttons[Button]
Parent.Buttons[Button] = nil
The reskinning of the button in RemoveButton when called in AddButton is redundant. This should address that. It also allows for only the button to be passed when changing groups, as it pulls the ButtonData from the old group prior to the reassignment. This is just a quick fix to see if it fixes the issue. As I said in the other ticket, I'm in the middle of a rewrite so a permanent solution may be awhile.
from masque.
I've made a commit that should address this. I'll leave the ticket open until I get a release finished and it's live-tested.
from masque.
Sorry for not responding, I was trying to create a small test case of what we do, but somehow it didn't behave like I expected.
I just tested your actual commit, and with that it seems fine! Thanks!
from masque.
Any idea when you are going to do a release?
from masque.
I'm rewriting a lot of it in my spare time, but I've got quite a bit of it finished. I'd say I'm about 70-75% done. Hopefully, within the next two weeks, if everything goes well.
from masque.
Please do tell us before a release, and we can arrange a bit of testing on our discord.
from masque.
Will do.
from masque.
I've released an alpha for testing purposes. I still have some improvements to make, but at least this will get some of the stuff I needed to do out of the way.
from masque.
I just tested this alpha and it seemed to work nicely. Once that masque version is out, I intend to commit something like InfusOnWoW/WeakAuras2@85bfb2a to WeakAuras.
Note, that not every aura currently has a uniqueId, so we won't be using staticIds for all auras yet, but that's coming at some point.
from masque.
Since this issue is resolved, I'm going to close this. If you run into an issues, let me know.
from masque.
Related Issues (20)
- Inconsistent Border Size HOT 1
- Lua errors with HOT 2
- Enhancement: Add New Spell Alerts for Retail
- Bug: Count Text on Blizzard Modern is Misaligned HOT 5
- Bug: Dual-Spec not Enabled on Season of Discovery
- Bug: Swipe Color Doesn't Work on Square Cooldowns
- Update the Interface Version for Beta (11.0.2)
- Enhancement: Add Support for New AutoCast Animations
- Update the Interface Version
- Glow Effects Different in Latest Release HOT 4
- Plater + Masque Bug after Update HOT 12
- Bug: Masque Errors on Missing Start Animation
- Bug: Blizzard Classic Cooldown Too Small HOT 1
- Enhancement: Add Classic-Style Spell Alerts HOT 1
- Enhancement: Allow Nested Spell Alert Skins HOT 1
- Update the Spell Alert API HOT 1
- Update the Interface Version
- Enhancement: Ehancement: Add Modern-Style Spell Alerts
- Bug: Conflict with HidingBar HOT 4
- Bug: Global setting not applying to all weakauras HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from masque.