82 + //To make horizontal movement smooth, not using bindig for year
83 + /*Component.onCompleted: {
84 + year = getYear();
85 + }
86 +
87 + Connections{
88 + target:root
89 + onMovementEnded: {
90 + //update only when movement ends, to avoid calculation while animation
91 + year = getYear();
92 + }
93 + }*/
94 +
Is this commented out code a leftover? Can it be removed?
82 + //To make horizontal movement smooth, not using bindig for year onCompleted: {
83 + /*Component.
84 + year = getYear();
85 + }
86 +
87 + Connections{
88 + target:root
89 + onMovementEnded: {
90 + //update only when movement ends, to avoid calculation while animation
91 + year = getYear();
92 + }
93 + }*/
94 +
Is this commented out code a leftover? Can it be removed?