Disable HListView animation debug prints

This commit is contained in:
miruka 2019-12-16 07:35:39 -04:00
parent 817ae905fe
commit 423c657fea

View File

@ -27,7 +27,7 @@ ListView {
// Make sure to handle when a previous transition gets interrupted // Make sure to handle when a previous transition gets interrupted
add: Transition { add: Transition {
ParallelAnimation { ParallelAnimation {
ScriptAction { script: print("add") } // ScriptAction { script: print("add") }
HNumberAnimation { property: "opacity"; from: 0; to: 1 } HNumberAnimation { property: "opacity"; from: 0; to: 1 }
HNumberAnimation { property: "scale"; from: 0; to: 1 } HNumberAnimation { property: "scale"; from: 0; to: 1 }
} }
@ -35,7 +35,7 @@ ListView {
move: Transition { move: Transition {
ParallelAnimation { ParallelAnimation {
ScriptAction { script: print("move") } // ScriptAction { script: print("move") }
HNumberAnimation { property: "opacity"; to: 1 } HNumberAnimation { property: "opacity"; to: 1 }
HNumberAnimation { property: "scale"; to: 1 } HNumberAnimation { property: "scale"; to: 1 }
HNumberAnimation { properties: "x,y" } HNumberAnimation { properties: "x,y" }
@ -44,7 +44,7 @@ ListView {
remove: Transition { remove: Transition {
ParallelAnimation { ParallelAnimation {
ScriptAction { script: print("remove") } // ScriptAction { script: print("remove") }
HNumberAnimation { property: "opacity"; to: 0 } HNumberAnimation { property: "opacity"; to: 0 }
HNumberAnimation { property: "scale"; to: 0 } HNumberAnimation { property: "scale"; to: 0 }
} }
@ -53,7 +53,7 @@ ListView {
// displaced: move // displaced: move
displaced: Transition { displaced: Transition {
ParallelAnimation { ParallelAnimation {
ScriptAction { script: print("displaced") } // ScriptAction { script: print("displaced") }
HNumberAnimation { property: "opacity"; to: 1 } HNumberAnimation { property: "opacity"; to: 1 }
HNumberAnimation { property: "scale"; to: 1 } HNumberAnimation { property: "scale"; to: 1 }
HNumberAnimation { properties: "x,y" } HNumberAnimation { properties: "x,y" }