Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 10456 | Rev 10459 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 10456 Rev 10458
Línea 1589... Línea 1589...
1589
			 		}	 			
1589
			 		}	 			
1590
			 	}
1590
			 	}
1591
				if(blockCelda){
1591
				if(blockCelda){
1592
			 	if(t4){
1592
			 	if(t4){
1593
			 		if(mouse.y<(alto)&&(x+xf)<=(ancho)){
1593
			 		if(mouse.y<(alto)&&(x+xf)<=(ancho)){
-
 
1594
				 		if(Math.round(xf)>=50){
1594
							if(((mouse.y-y)/recorte)>50){
1595
							if(((mouse.y-y)/recorte)>50){
1595
				 				yf=mouse.y-y;	
1596
				 				yf=mouse.y-y;	
1596
				 				xf=(yf/recorte);
1597
				 				xf=(yf/recorte);
1597
				 			}
1598
				 			}
1598
						
1599
						}
1599
			 		}/*else{
1600
			 		}/*else{
1600
			 			if(mouse.y>=(alto-10)){
1601
			 			if(mouse.y>=(alto-10)){
1601
			 				yf=alto-y;
1602
			 				yf=alto-y;
1602
				 			xf=(yf/recorte);
1603
				 			xf=(yf/recorte);
1603
				 			t4=false;	
1604
				 			t4=false;	
Línea 1609... Línea 1610...
1609
			 			}
1610
			 			}
1610
			 		}*/
1611
			 		}*/
1611
			 	}
1612
			 	}
1612
			 	if(t3){
1613
			 	if(t3){
1613
			 		if(mouse.y>0&&(x+xf)<=(ancho)){
1614
			 		if(mouse.y>0&&(x+xf)<=(ancho)){
-
 
1615
				 		if(Math.round(xf)>=50){
1614
							if(((yf+(y-mouse.y))/recorte)>50){
1616
							if(((yf+(y-mouse.y))/recorte)>50){
1615
					 			yf=yf+(y-mouse.y);
1617
					 			yf=yf+(y-mouse.y);
1616
					 			xf=(yf/recorte);
1618
					 			xf=(yf/recorte);
1617
					 			y=mouse.y;	
1619
					 			y=mouse.y;	
1618
				 			}
1620
				 			}
1619
				 		
1621
				 		}
Línea 1620... Línea 1622...
1620
 
1622
 
1621
			 		}/*else{
1623
			 		}/*else{
1622
			 			if(mouse.y<=0) {
1624
			 			if(mouse.y<=0) {
1623
			 				yf=yf+(y-mouse.y);
1625
			 				yf=yf+(y-mouse.y);
Línea 1632... Línea 1634...
1632
			 			}
1634
			 			}
1633
			 		}*/
1635
			 		}*/
1634
			 	}
1636
			 	}
1635
			 	if(t2){
1637
			 	if(t2){
1636
			 		if(mouse.y<(alto)&&x>=0){
1638
			 		if(mouse.y<(alto)&&x>=0){
-
 
1639
				 		if(Math.round(xf)>=50){	
1637
							if(((mouse.y-y)/recorte)>50){
1640
							if(((mouse.y-y)/recorte)>50){
1638
					 			x=(x+(yf-(mouse.y-y))/recorte);
1641
					 			x=(x+(yf-(mouse.y-y))/recorte);
1639
					 			yf=mouse.y-y;
1642
					 			yf=mouse.y-y;
1640
					 			xf=(yf/recorte);
1643
					 			xf=(yf/recorte);
1641
				 			}
1644
				 			}
1642
					 	
1645
					 	}
Línea 1643... Línea 1646...
1643
				 		
1646
				 		
1644
			 		}/*else{
1647
			 		}/*else{
1645
			 			if(mouse.y>=(alto-10)) {
1648
			 			if(mouse.y>=(alto-10)) {
1646
			 				yf=alto-y;
1649
			 				yf=alto-y;
Línea 1655... Línea 1658...
1655
			 			}
1658
			 			}
1656
			 		}*/
1659
			 		}*/
1657
			 	}
1660
			 	}
1658
			 	if(t1){
1661
			 	if(t1){
1659
			 		if(mouse.y>0&&x>=0){
1662
			 		if(mouse.y>0&&x>=0){
-
 
1663
				 		if(Math.round(xf)>=50){	
1660
						if(((yf+(y-mouse.y))/recorte)>50){
1664
							if(((yf+(y-mouse.y))/recorte)>50){
1661
							yf=yf+(y-mouse.y);
1665
								yf=yf+(y-mouse.y);
1662
					 		xf=(yf/recorte);
1666
					 			xf=(yf/recorte);
1663
					 		x=(x-(y-mouse.y)/recorte);
1667
					 			x=(x-(y-mouse.y)/recorte);
1664
					 		y=mouse.y;
1668
					 			y=mouse.y;
1665
						}
1669
							}
1666
				 		
1670
				 		}
1667
			 		}/*else{
1671
			 		}/*else{
1668
			 			if(mouse.y<=0) {
1672
			 			if(mouse.y<=0) {
1669
			 				yf=yf+(y-mouse.y);
1673
			 				yf=yf+(y-mouse.y);
1670
				 			xf=(yf/recorte);
1674
				 			xf=(yf/recorte);
1671
			 				y=0;
1675
			 				y=0;