When the onlyShadeSelection option is set to true it will only emit changes coming from the shade selection.
This is nessecary when changing the selectedColor of the colorpicker depending on what it emits. Without the change the mainColor would be selected, emitted through onColorChange and onMainColorChange. The colors couldn't be differentiated and had to be set, thus skipping / ignoring the shade selection that also offers the main color.
Might be wise to make it the default for onColorChange and keep emitting changes of MainColor to onMainColorChange
When the onlyShadeSelection option is set to true it will only emit changes coming from the shade selection.
This is nessecary when changing the selectedColor of the colorpicker depending on what it emits. Without the change the mainColor would be selected, emitted through onColorChange and onMainColorChange. The colors couldn't be differentiated and had to be set, thus skipping / ignoring the shade selection that also offers the main color.
Might be wise to make it the default for onColorChange and keep emitting changes of MainColor to onMainColorChange