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
45cc1195
Commit
45cc1195
authored
Mar 18, 2020
by
Jean-Baptiste Mardelle
Browse files
Make monitor ruler zone slightly more opaque for better visibility
parent
03f434ce
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/monitor/view/MonitorRuler.qml
View file @
45cc1195
...
...
@@ -50,6 +50,20 @@ Rectangle {
}
}
// Ruler zone
Rectangle
{
id
:
zone
visible
:
controller
.
zoneOut
>
controller
.
zoneIn
color
:
activePalette
.
highlight
x
:
controller
.
zoneIn
*
root
.
timeScale
width
:
(
controller
.
zoneOut
-
controller
.
zoneIn
)
*
root
.
timeScale
anchors.bottom
:
parent
.
bottom
height
:
ruler
.
height
/
1.9
opacity
:
0.8
onXChanged
:
zoneToolTipTimer
.
start
()
onWidthChanged
:
zoneToolTipTimer
.
start
()
}
// frame ticks
Repeater
{
id
:
rulerTicks
...
...
@@ -102,16 +116,6 @@ Rectangle {
color
:
activePalette
.
highlightedText
}
}
TimelinePlayhead
{
id
:
playhead
visible
:
controller
.
position
>
-
1
height
:
ruler
.
height
*
0.5
width
:
ruler
.
height
*
1
opacity
:
1
anchors.top
:
ruler
.
top
fillColor
:
activePalette
.
windowText
x
:
controller
.
position
*
root
.
timeScale
-
(
width
/
2
)
}
// monitor zone
Rectangle
{
id
:
inZoneMarker
...
...
@@ -130,17 +134,15 @@ Rectangle {
color
:
activePalette
.
highlight
visible
:
inZoneMarker
.
visible
}
Rectangle
{
id
:
zone
visible
:
controller
.
zoneOut
>
controller
.
zoneIn
color
:
activePalette
.
highlight
x
:
controller
.
zoneIn
*
root
.
timeScale
width
:
(
controller
.
zoneOut
-
controller
.
zoneIn
)
*
root
.
timeScale
anchors.bottom
:
parent
.
bottom
height
:
ruler
.
height
/
2
opacity
:
0.4
onXChanged
:
zoneToolTipTimer
.
start
()
onWidthChanged
:
zoneToolTipTimer
.
start
()
TimelinePlayhead
{
id
:
playhead
visible
:
controller
.
position
>
-
1
height
:
ruler
.
height
*
0.5
width
:
ruler
.
height
*
1
opacity
:
1
anchors.top
:
ruler
.
top
fillColor
:
activePalette
.
windowText
x
:
controller
.
position
*
root
.
timeScale
-
(
width
/
2
)
}
Rectangle
{
id
:
trimIn
...
...
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