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
29697693
Commit
29697693
authored
Mar 18, 2021
by
Jean-Baptiste Mardelle
Browse files
zoom bar: always show handles
parent
df92fa26
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/timeline2/view/qml/ZoomBar.qml
View file @
29697693
...
...
@@ -53,7 +53,6 @@ Rectangle {
property
bool
placeHolderBar
:
!
zoomStart
.
pressed
&&
!
zoomEnd
.
pressed
&&
root
.
zoomBarWidth
*
zoomHandleContainer
.
width
<
root
.
baseUnit
width
:
placeHolderBar
?
root
.
baseUnit
:
root
.
zoomBarWidth
*
zoomHandleContainer
.
width
x
:
root
.
zoomStart
*
zoomHandleContainer
.
width
radius
:
hoveredBar
?
0
:
height
/
2
MouseArea
{
id
:
zoomArea
anchors.fill
:
parent
...
...
@@ -122,8 +121,7 @@ Rectangle {
id
:
startHandleRect
anchors.fill
:
parent
radius
:
height
/
2
color
:
zoomStart
.
isActive
?
activePalette
.
highlight
:
hoveredBar
?
activePalette
.
text
:
barPalette
.
light
visible
:
hoveredBar
color
:
zoomStart
.
isActive
?
activePalette
.
highlight
:
hoveredBar
?
activePalette
.
text
:
barPalette
.
text
Rectangle
{
anchors.fill
:
parent
anchors.leftMargin
:
height
/
2
...
...
@@ -165,8 +163,7 @@ Rectangle {
id
:
endHandleRect
anchors.fill
:
parent
radius
:
height
/
2
color
:
zoomEnd
.
isActive
?
activePalette
.
highlight
:
hoveredBar
?
activePalette
.
text
:
barPalette
.
light
visible
:
hoveredBar
color
:
zoomEnd
.
isActive
?
activePalette
.
highlight
:
hoveredBar
?
activePalette
.
text
:
barPalette
.
text
Rectangle
{
anchors.fill
:
parent
anchors.rightMargin
:
height
/
2
...
...
Jean-Baptiste Mardelle
@mardelle
mentioned in commit
dea7a8bb
·
Mar 18, 2021
mentioned in commit
dea7a8bb
mentioned in commit dea7a8bbf4ff524288a1c32c8139931110d03ed0
Toggle commit list
Write
Preview
Supports
Markdown
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