web/LdtPlayer-release.js
changeset 17 283abdcf7134
parent 15 6d9cd6f47d95
child 22 11011b712cf2
equal deleted inserted replaced
16:80360fde99e8 17:283abdcf7134
 10480     var startPourcent 	= IriSP.timeToPourcent(begin, duration);
 10480     var startPourcent 	= IriSP.timeToPourcent(begin, duration);
 10481     
 10481     
 10482     /* some sort of collapsing occurs, so we only have to substract one pixel to each box instead of
 10482     /* some sort of collapsing occurs, so we only have to substract one pixel to each box instead of
 10483        two
 10483        two
 10484     */
 10484     */
 10485     var endPourcent 	= IriSP.timeToPourcent(end, duration) - startPourcent - onePxPercent * 1;
 10485     var endPourcent 	= IriSP.timeToPourcent(end, duration) - startPourcent - onePxPercent * 1.5;
 10486     
 10486     
 10487     /* on the other hand, we have to substract one pixel from the first box because it's the only
 10487     /* on the other hand, we have to substract one pixel from the first box because it's the only
 10488        one to have to effective 1px margins */
 10488        one to have to effective 1px margins */
 10489     if (i == 0) {
 10489     if (i == 0) {
 10490 
 10490