Code review comment for lp:~pkunal-parmar/ubuntu-calendar-app/nextYearFix

Revision history for this message
Olivier Tilloy (osomon) wrote :

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?

« Back to merge proposal