Commit 800813ea authored by Sashmita Raghav's avatar Sashmita Raghav

add condition to assign color to image clip type

parent a4e508da
......@@ -187,6 +187,9 @@ Rectangle {
if (clipStatus == ClipState.Disabled) {
return 'grey'
}
if(itemType == ProducerType.Image){
return imageColor
}
if (itemType == ProducerType.Color) {
var color = clipResource.substring(clipResource.length - 9)
if (color[0] == '#') {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment