Color Picker issues 10.2.5
I'm trying to see if anyone else has had an issue with color picker when using it to change font colors etc. It works perfectly fine in 10.2, but when I went to the PTR its a no go. There are no errors, and when you click on the Font color button in my addon it does nothing. It doesn't even pull up the color picker.
Does anyone know if this is an issue that Blizz knows about? Or do I need to figure out how to get around it? Below is part of my code for the color picker: Code:
fontColor = { Any help on this will be greatly appreciated. |
A quick look at the changes between 10.2 and 10.2.5 and it looks like the file has had a few changes which might affect the functionality. But I am surprised that there are no errors if it is just an access change.
An example: Removed: OpenColorPicker(info) Added: ColorPickerFrame:SetupColorPickerAndShow(info) Aha, looking at the xml file - It has gone from a ColorSelect type to a Frame type. <ColorSelect name="ColorPickerFrame" toplevel="true" parent="UIParent" movable="true" enableMouse="true" enableKeyboard="true" hidden="true" frameStrata="DIALOG"> <Frame name="ColorPickerFrame" mixin="ColorPickerFrameMixin" toplevel="true" parent="UIParent" movable="true" clampedToScreen="true" hidden="true" frameStrata="DIALOG"> https://github.com/Gethe/wow-ui-sour...ickerFrame.xml Ace doesn't appear to have been updated since 10.1.5 but there is a ColorPickerPlus addon by them that has been updated sooner. https://github.com/WoWUIDev |
Thanks for the info man. I will look into it.
|
Have you checked the changes in the Color Picker functionality between versions 10.2 and 10.2.5? Also, have you considered exploring addons like ColorPickerPlus by WoWUIDev, which might have updates addressing the issue?
Sharpedge, have you made any progress in resolving the Color Picker issue in your addon? |
Quote:
|
If Ace has an alpha/beta for 10.2.5, use that otherwise, wait for the 10.2.5 version. Blizz changed how the ColorPicker is constructed and some of the methods. Your current (and likely soon to be old) version of Ace ColorPicker won't work with it. It will likely be the same for ColorPickerPlus if it is using default CP methods to "replace" it.
|
Quote:
|
It seems like the changes in the Color Picker functionality between versions might be the culprit. Have you considered updating your code to reflect the changes highlighted in the example, and have you encountered any other compatibility issues between versions that you're addressing in your addon development?
|
Quote:
|
Testing the new updates now....
I'm tripping. I didn't read the changelog for Ace 3 lol. It's still broken. But they are aware of it. |
Not sure if this will help you are not, the new color picker is acutally well made (in my opinion). I am leaving a small code snippet from my addon so anyone else can use it to use the new color picker. It's all contained in one function call now, and there is no callback.
Lua Code:
An alternative way (this is more how Blizzard did this) Lua Code:
Also one thing to note, the new window is moveable and it remembers where it was. It also has hex code for colors :) |
All times are GMT -6. The time now is 10:29 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI