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
540b919f
Commit
540b919f
authored
Mar 26, 2021
by
Jean-Baptiste Mardelle
Browse files
Remove some debug output
parent
1f4bbabf
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/timeline2/view/qml/RulerZone.qml
View file @
540b919f
...
...
@@ -76,17 +76,14 @@ Rectangle {
}
}
onReleased
:
{
console
.
log
(
"
========
\n\n
ZONE MOVE MOUSE RELEASED!!!!!!!!
\n\n
===============
"
)
updateZone
(
startZone
,
Qt
.
point
(
frameIn
,
frameOut
),
true
)
resizeActive
=
false
anchors
.
left
=
parent
.
left
}
onPositionChanged
:
{
console
.
log
(
"
MOUSE MOVE EVENT...
"
)
if
(
mouse
.
buttons
===
Qt
.
LeftButton
)
{
resizeActive
=
true
var
offset
=
Math
.
round
(
mouseX
/
timeline
.
scaleFactor
)
console
.
log
(
"
MOUSE MOVE OFFSET:
"
,
offset
)
if
(
offset
!=
0
)
{
var
newPos
=
Math
.
max
(
0
,
controller
.
suggestSnapPoint
(
frameIn
+
offset
,
mouse
.
modifiers
&
Qt
.
ShiftModifier
?
-
1
:
root
.
snapping
))
if
(
newPos
==
frameIn
+
offset
)
{
...
...
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