Update EditChannels.plugin.js

This commit is contained in:
Mirco Wittrien 2017-09-02 00:55:28 +02:00 committed by GitHub
parent ca53ae46e8
commit d5edd891f9
1 changed files with 3 additions and 1 deletions

View File

@ -436,7 +436,9 @@ class EditChannels {
})
var custom = $(".ui-color-picker-swatch1.custom", wrapperDiv).spectrum({
color: $(".custom", wrapperDiv).css("background-color"),
showInput: false,
preferredFormat: "rgb",
clickoutFiresChange: true,
showInput: true,
showButtons: false,
move: (color) => {
var tempColor = color.toRgbString().slice(4, -1).split(", ");