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
bb99e912
Commit
bb99e912
authored
May 15, 2020
by
Jean-Baptiste Mardelle
Browse files
Fix timeline ruler incorrectly cut on small zoom
parent
f093dddd
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/timeline2/view/qml/Ruler.qml
View file @
bb99e912
...
...
@@ -19,7 +19,7 @@
import
QtQuick
2.11
import
QtQuick
.
Controls
2.4
Rectangle
{
Item
{
id
:
rulerRoot
// The standard width for labels. Depends on format used (frame number or full timecode)
property
int
labelSize
:
fontMetrics
.
boundingRect
(
timeline
.
timecode
(
36000
)).
width
...
...
@@ -59,8 +59,6 @@ Rectangle {
tickRepeater
.
model
=
0
tickRepeater
.
model
=
scrollView
.
width
/
rulerRoot
.
tickSpacing
+
2
}
color
:
root
.
color
clip
:
true
// Timeline preview stuff
Repeater
{
...
...
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