Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Multimedia
Kdenlive
Commits
800813ea
Commit
800813ea
authored
Jan 27, 2020
by
Sashmita Raghav
Browse files
add condition to assign color to image clip type
parent
a4e508da
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/timeline2/view/qml/Clip.qml
View file @
800813ea
...
...
@@ -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
]
==
'
#
'
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment