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
441fc496
Commit
441fc496
authored
May 17, 2021
by
Julius Künzel
⚠
Browse files
Ensure timeline zoombar right handle is always visible.
Related to
#651
parent
45b94486
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/timeline2/view/qml/ZoomBar.qml
View file @
441fc496
...
...
@@ -132,7 +132,8 @@ Rectangle {
MouseArea
{
id
:
zoomEnd
property
bool
isActive
:
zoomEnd
.
containsMouse
||
zoomEnd
.
pressed
anchors.left
:
zoomBar
.
right
anchors.left
:
pressed
?
undefined
:
zoomBar
.
right
anchors.leftMargin
:
zoomBar
.
x
+
zoomBar
.
width
>
zoomHandleContainer
.
width
-
width
?
-
width
:
0
anchors.bottom
:
zoomBar
.
bottom
width
:
zoomBar
.
height
height
:
zoomBar
.
height
...
...
@@ -140,11 +141,9 @@ Rectangle {
cursorShape
:
Qt
.
SizeHorCursor
drag.minimumX
:
zoomStart
.
x
+
width
onPressed
:
{
anchors
.
left
=
undefined
endHandleRect
.
anchors
.
fill
=
undefined
}
onReleased
:
{
anchors
.
left
=
zoomBar
.
right
endHandleRect
.
anchors
.
fill
=
zoomEnd
}
onPositionChanged
:
{
...
...
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