Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 10579 Rev 10580
Línea 1620... Línea 1620...
1620
						}else if(cal3<=ancho&&mouse.y<0){
1620
						}else if(cal3<=ancho&&mouse.y<0){
1621
							yf=yf+y;
1621
							yf=yf+y;
1622
							xf=yf/recorte
1622
							xf=yf/recorte
1623
							y=0;
1623
							y=0;
1624
						}else if(cal3>=ancho){
1624
						}else if(cal3>=ancho){
1625
							
-
 
1626
							xf=ancho-x;
1625
							xf=ancho-x;
1627
							y=y+(yf-xf*recorte);
1626
							y=y+(yf-xf*recorte);
1628
							yf=xf*recorte;
1627
							yf=xf*recorte;	
1629
								
-
 
1630
						}
1628
						}
Línea 1631... Línea 1629...
1631
					 	
1629
					 	
Línea 1632... Línea 1630...
1632
				 	}
1630
				 	}
1633
				 		
1631
				 		
-
 
1632
			 	}
1634
			 	}
1633
			 	if(t2){
1635
			 	if(t2){
1634
 
1636
					cal1=mouse.y-y;
1635
					cal1=mouse.y-y;
-
 
1636
			 		cal2=cal1/recorte;
1637
			 		cal2=cal1/recorte;
1637
					cal3=x+(yf-cal1)/recorte;cal2;
1638
					cal3=x+(yf-cal1)/recorte;
1638
					if(cal2>50){
1639
					if(cal2>50&&cal3>=0&&mouse.y<=alto){
1639
						if(cal3>=0&&mouse.y<=alto){
1640
						x=cal3;
1640
							x=cal3;
-
 
1641
							yf=cal1;	
-
 
1642
				 			xf=cal2;
-
 
1643
						}else if(cal3>=0&&mouse.y>alto){
-
 
1644
							yf=alto-y;
-
 
1645
							xf=yf/recorte
-
 
1646
						}else if(cal3<=0&&mouse.y<=alto){
-
 
1647
							xf=ancho-x;
1641
					 	yf=cal1;
1648
							yf=xf*recorte;	
-
 
1649
						}
-
 
1650
				 	}
-
 
1651
 
Línea 1642... Línea 1652...
1642
					 	xf=cal2;
1652
					
1643
				 	}
1653
					
1644
					 
1654
					 
1645
			 	}
1655
			 	}