This has the advantage of a more verbose packaging as it is done on your side (Travis CI) and only uploads the packaged file. The .pkgmeta and keyword substitutions are the same as on curse.
It looks like it's putting an equal amount of plugins on either side of the center, while completely ignoring each individual plugin's width.
.
Yes, this is intended to save CPU time. Some plugins update their width
very frequently and CB would have to update all the center plugins to frequently.
I have tried to hide the icon when it is set to nil but thats not very convenient because of the user settings of the icon and text.
If the icon is disabled by the user, your addon would again show nothing.
The reason the text filed is required for data objects of type "data source" is not because display addons could not handle nil but because its the only field a simple display addon (that only supports the type "data source") has to implement. Without the text such a display addon would have nothing to show.
Thus setting the text to "" is not much better than leaving it nil.
What you actually want is to provide a data object of type "data source" at one time and then change it to "launcher" (just icon, not text) the moment nothing is tracked. Most display addons support both types but changes to the type are not supposed to happen and would make no sense with a display addon supporting just one type.
Why do you want the icon when there is nothing tracked?
Why not just set the text to "no currency tracked"
is there any alpha versions for 4.0.x beta. CB kinda works on Beta atm but there is no way to use the options it that coudl be patched i would like to test it on beta thanks
I'm wondering if you can add in the feature of being able to lock chocolate bar so when you click on it it doesn't bring up the option menu. I like the ability to click on certain mods during combat, but have noticed from time to time during combat I accidentally click chocolate bar and it brings up the option screen during combat. I know you can lock all clicks during combat, but like I said there is the occasional mod I like to click open to see something quickly during a lull in a combat phase.
I found that chocolate wont center verticaly the text perfectly on the bar and the icons are a bit distorted and small, I did played with bar vertical size and text size though
I'll look into it. Probably a problem with the one pixel gap at the top that I have fixed but at some resolutions/settings is not there.
I don't want the icons to be the full height of the bar, maybe an option to set some insets.
0
An alternative way is to use Travis CI and a BigWigs packager script.
This has the advantage of a more verbose packaging as it is done on your side (Travis CI) and only uploads the packaged file. The .pkgmeta and keyword substitutions are the same as on curse.
Guide: http://www.wowinterface.com/forums/showthread.php?t=55801&highlight=travis
0
Added.
Look an Feel -> Update Center Position
But don't forget that you can give any plugin a fixed text width to avoid to much movement of other plugins.
0
Good idea, I just added it this way.
0
Yes, this is intended to save CPU time. Some plugins update their width
very frequently and CB would have to update all the center plugins to frequently.
0
ChocolateBar call's the OnLeave handler of BrokerCPU but the tooltip remains.
I have answered your bug report on the curse page of Broker_CPU.
0
There is an option to disable the icon.
0
If the icon is disabled by the user, your addon would again show nothing.
The reason the text filed is required for data objects of type "data source" is not because display addons could not handle nil but because its the only field a simple display addon (that only supports the type "data source") has to implement. Without the text such a display addon would have nothing to show.
Thus setting the text to "" is not much better than leaving it nil.
What you actually want is to provide a data object of type "data source" at one time and then change it to "launcher" (just icon, not text) the moment nothing is tracked. Most display addons support both types but changes to the type are not supposed to happen and would make no sense with a display addon supporting just one type.
Why do you want the icon when there is nothing tracked?
Why not just set the text to "no currency tracked"
0
0
0
Text is a required field.
Fixed in r110.
0
0
just added
0
0
It's an AceConfig thing.
But I just found a simple solution, at least it works for me, see Ticket
I'll look into it. Probably a problem with the one pixel gap at the top that I have fixed but at some resolutions/settings is not there.
I don't want the icons to be the full height of the bar, maybe an option to set some insets.
0
Thanks, fixed in r100
Very strange, is this the first error you get?
Try r101, if you still have problems try to delete the saved variables of CB.