Quote:
|
Quote:
You could instead call the cancel handlers on other addons' configuration panels before you convert the cancel action into an okay one. Alternatively, replace the cancel handlers on just the Blizzard panels that are causing issues with null functions. |
Quote:
Code:
CompactUnitFrameProfiles.cancel = function() end |
Makes me wonder if a stand-alone mod, implementing both approaches on user choice, might be in order; though, with the pittance of threads I found on this problem, it may not be as impacting as I thought.
My hat's off to both of you, though. I disagree with Leatrix on the Cancel-button issue but I implemented it in my baseplate UI (sans-cancel->no-errors > blocking errors) and what a bloody difference. Not a single random "var comparator was nil" type error since I put it in, vs 3-5 per raid -- I had an odd moment of wondering if I'd broken Buggrabber since it didn't complain about anything for hours. Have to give Foxlit's approach a try -- feels a bit cleaner, and less chance of unintended effects -- but after having 4 headaches evaporate instantly, it might be worth a cancel button :) Edit: er, maybe I'll have to take that back. Instances and Scenarios both were chucking up issues this evening. Cancel was missing but the errors weren't. Odd. |
I'm with Leatrix on this one... the Cancel button does nothing for the majority of addons, and doesn't even do very much for the Blizzard panels it does apply to. Plus, it's really annoying to change a Blizzard option and then have it reverted because you hit Esc to close the window instead of clicking the Okay button. In the event you did accidentally click "Show action bar 4" and then change your mind, you can just click it again to go back to how it was. Users in WoW are used to options applying immediately when changed.
I added the button-removal code to my own UI and don't miss the button at all, or the tons of CRF-related taint errors in BugSack. |
I do have a "Reset" button in one of my addons, because users can't be expected to know the RGB values for the default class colors. Other than that, if they don't like the statusbar texture they picked, they can just pick a different one.
|
All times are GMT -6. The time now is 10:33 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI