Commit 540b919f authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle
Browse files

Remove some debug output

parent 1f4bbabf
......@@ -76,17 +76,14 @@ Rectangle {
}
}
onReleased: {
console.log("========\n\nZONE 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) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment