Skip to content
GitLab
Menu
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
a07bd451
Commit
a07bd451
authored
Jan 03, 2022
by
Julius Künzel
Browse files
[Clip Monitor] Fix flicker on hover of "In Point" / "Out Point" Label
parent
6c51178f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/monitor/view/kdenliveclipmonitor.qml
View file @
a07bd451
...
...
@@ -476,6 +476,11 @@ Item {
}
padding
:
4
horizontalAlignment
:
TextInput
.
AlignHCenter
MouseArea
{
id
:
inPointArea
anchors.fill
:
parent
hoverEnabled
:
true
}
}
Label
{
id
:
outPoint
...
...
@@ -493,6 +498,11 @@ Item {
}
padding
:
4
horizontalAlignment
:
TextInput
.
AlignHCenter
MouseArea
{
id
:
outPointArea
anchors.fill
:
parent
hoverEnabled
:
true
}
}
TextField
{
id
:
marker
...
...
@@ -533,7 +543,8 @@ Item {
height
:
childrenRect
.
height
color
:
Qt
.
rgba
(
activePalette
.
highlight
.
r
,
activePalette
.
highlight
.
g
,
activePalette
.
highlight
.
b
,
0.7
)
radius
:
4
opacity
:
(
dragAudioArea
.
containsMouse
||
dragVideoArea
.
containsMouse
||
thumbMouseArea
.
containsMouse
||
marker
.
hovered
||
(
barOverArea
.
containsMouse
&&
(
barOverArea
.
mouseY
>=
(
parent
.
height
-
inPoint
.
height
-
height
-
2
-
(
audioThumb
.
height
+
root
.
zoomOffset
)
-
root
.
baseUnit
))))
?
1
:
0
opacity
:
(
dragAudioArea
.
containsMouse
||
dragVideoArea
.
containsMouse
||
thumbMouseArea
.
containsMouse
||
marker
.
hovered
||
inPointArea
.
containsMouse
||
outPointArea
.
containsMouse
||
(
barOverArea
.
containsMouse
&&
(
barOverArea
.
mouseY
>=
(
parent
.
height
-
inPoint
.
height
-
height
-
2
-
(
audioThumb
.
height
+
root
.
zoomOffset
)
-
root
.
baseUnit
))))
?
1
:
0
visible
:
controller
.
clipHasAV
onOpacityChanged
:
{
if
(
opacity
==
1
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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