~kjtehprogrammer/pantheon-files/editable-pathbar

« back to all changes in this revision

Viewing changes to libwidgets/Animations.vala

  • Committer: KJ Lawrence
  • Date: 2014-05-24 03:48:19 UTC
  • mfrom: (1485.1.18 pantheon-files)
  • Revision ID: kjtehprogrammer@gmail.com-20140524034819-veos3kl0rb0mw5n3
Merging with trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
        var old_adj_value = adj.value;
13
13
 
14
14
        Timeout.add (1000 / 60, () => {
15
 
            /*//If the user move it at the same time, just stop the animation
 
15
            /* If the user moves it at the same time, just stop the animation */
16
16
            if(old_adj_value != adj.value)
17
 
                return false;*/
 
17
                return false;
18
18
 
19
19
            if (newvalue >= to_do - 10) {
20
20
                /* to be sure that there is not a little problem */