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
687ed62b
Commit
687ed62b
authored
Mar 31, 2020
by
Jean-Baptiste Mardelle
Browse files
Don't show clip tooltip when resizing or using fades
parent
353fc81d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/timeline2/view/qml/Clip.qml
View file @
687ed62b
...
...
@@ -111,7 +111,7 @@ Rectangle {
}
}
ToolTip
{
visible
:
mouseArea
.
containsMouse
&&
!
dragProxyArea
.
pressed
visible
:
mouseArea
.
containsMouse
&&
!
dragProxyArea
.
pressed
&&
!
trimInMouseArea
.
containsMouse
&&
!
trimOutMouseArea
.
containsMouse
&&
!
fadeInMouseArea
.
containsMouse
&&
!
fadeOutMouseArea
.
containsMouse
delay
:
1000
timeout
:
5000
background
:
Rectangle
{
...
...
@@ -871,6 +871,21 @@ Rectangle {
width
:
1
visible
:
clipRoot
.
fadeOut
>
0
&&
(
fadeOutMouseArea
.
containsMouse
||
fadeOutMouseArea
.
drag
.
active
)
}
ToolTip
{
visible
:
clipRoot
.
fadeOut
>
0
&&
fadeOutMouseArea
.
containsMouse
&&
!
fadeOutMouseArea
.
drag
.
active
delay
:
1000
timeout
:
5000
background
:
Rectangle
{
color
:
activePalette
.
alternateBase
border.color
:
activePalette
.
light
}
contentItem
:
Label
{
color
:
activePalette
.
text
font
:
miniFont
text
:
'
%1: %2
'
.
arg
(
i18n
(
"
Duration
"
))
.
arg
(
timeline
.
simplifiedTC
(
clipRoot
.
fadeOut
))
}
}
}
}
...
...
@@ -946,6 +961,21 @@ Rectangle {
width
:
1
visible
:
clipRoot
.
fadeIn
>
0
&&
(
fadeInMouseArea
.
containsMouse
||
fadeInMouseArea
.
drag
.
active
)
}
ToolTip
{
visible
:
clipRoot
.
fadeIn
>
0
&&
fadeInMouseArea
.
containsMouse
&&
!
fadeInMouseArea
.
drag
.
active
delay
:
1000
timeout
:
5000
background
:
Rectangle
{
color
:
activePalette
.
alternateBase
border.color
:
activePalette
.
light
}
contentItem
:
Label
{
color
:
activePalette
.
text
font
:
miniFont
text
:
'
%1: %2
'
.
arg
(
i18n
(
"
Duration
"
))
.
arg
(
timeline
.
simplifiedTC
(
clipRoot
.
fadeIn
))
}
}
}
}
}
...
...
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