This commit is contained in:
Alex Solomaha
2016-11-14 22:48:33 +02:00
parent 9e9eb1330f
commit c4759edce1

View File

@@ -134,7 +134,7 @@ function updateItemValue(id, type, value) {
case 30: // RGB
var $colorPicker = $('#colorpicker-' + id);
$colorPicker.spectrum('set', 'rgb(' + value.red + ', ' + value.green + ', ' + value.blue + ')');
$colorPicker.spectrum('set', 'rgb(' + value[0] + ', ' + value[1] + ', ' + value[2] + ')');
break;
}