Giter Club home page Giter Club logo

Comments (10)

StormFX avatar StormFX commented on August 19, 2024

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.

StormFX avatar StormFX commented on August 19, 2024

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.

InfusOnWoW avatar InfusOnWoW commented on August 19, 2024

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.

InfusOnWoW avatar InfusOnWoW commented on August 19, 2024

Any idea when you are going to do a release?

from masque.

StormFX avatar StormFX commented on August 19, 2024

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.

InfusOnWoW avatar InfusOnWoW commented on August 19, 2024

Please do tell us before a release, and we can arrange a bit of testing on our discord.

from masque.

StormFX avatar StormFX commented on August 19, 2024

Will do.

from masque.

StormFX avatar StormFX commented on August 19, 2024

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.

InfusOnWoW avatar InfusOnWoW commented on August 19, 2024

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.

StormFX avatar StormFX commented on August 19, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.