Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 11045 Rev 11245
Línea 1817... Línea 1817...
1817
				 		
1817
				 		
1818
			 	}
1818
			 	}
Línea 1819... Línea 1819...
1819
			 	if(t2){
1819
			 	if(t2){
1820
 
1820
 
1821
					cal1=mouse.y-y;
1821
					cal1=mouse.y-y;
1822
			 		cal2=cal1/recorte;
1822
					cal2=cal1/recorte;
1823
					cal3=x+(yf-cal1)/recorte;cal2;
1823
					cal3=x+(yf-cal1)/recorte;cal2;
1824
					if(cal2>50){
1824
					if(cal2>50){
1825
						if(cal3>=0&&mouse.y<=alto){
1825
						if(cal3>=0&&mouse.y<=alto){
1826
							x=cal3;
1826
							x=cal3;
1827
							yf=cal1;	
1827
							yf=cal1;	
1828
				 			xf=cal2;
1828
							xf=cal2;
1829
						}else if(cal3<0&&mouse.y>alto){
1829
						}else if(cal3>0&&mouse.y>alto){
1830
							yf=alto-y;
1830
							yf=alto-y;
1831
							x=x+(xf-yf/recorte);
1831
							x=x+(xf-yf/recorte);
1832
							xf=yf/recorte
1832
							xf=yf/recorte
1833
						}else if(cal3<0&&mouse.y<=alto){
1833
						}else if(cal3<0&&mouse.y<=alto){
1834
							xf=xf+x;
1834
							xf=xf+x;
1835
							yf=xf*recorte;
1835
							yf=xf*recorte;
1836
							x=0;	
1836
							x=0;	
1837
						}
1837
						}
1838
				 	}	
1838
					}	
1839
					 
1839
					
1840
			 	}
1840
				}
1841
			 	if(t1){
1841
				if(t1){
1842
					cal0=y-mouse.y;
1842
					cal0=y-mouse.y;
1843
					cal1=yf+cal0;
1843
					cal1=yf+cal0;
1844
			 		cal2=cal1/recorte;
1844
					cal2=cal1/recorte;
1845
					cal3=x-cal0/recorte;
1845
					cal3=x-cal0/recorte;
1846
					if(cal2>50){
1846
					if(cal2>50){
1847
						if(cal3>=0&&mouse.y>=0){
1847
						if(cal3>=0&&mouse.y>=0){
1848
							yf=cal1;
1848
							yf=cal1;
1849
					 		xf=cal2;
1849
							xf=cal2;
1850
					 		x=cal3;
1850
							x=cal3;
1851
					 		y=mouse.y;
1851
							y=mouse.y;
1852
						}else if(mouse.y<0||cal3<0&&mouse.y<0){
1852
						}else if(cal3>0&&mouse.y<0){
1853
							yf=yf+y;
1853
							yf=yf+y;
1854
							x=x+(xf-yf/recorte);
1854
							x=x+(xf-yf/recorte);
1855
							xf=yf/recorte
1855
							xf=yf/recorte
1856
							y=0;
1856
							y=0;
1857
						}else if(cal3<0&&mouse.y>=0){
1857
						}else if(cal3<0&&mouse.y>=0){
1858
							xf=xf+x;
1858
							xf=xf+x;
1859
							y=y+(yf-xf*recorte);
1859
							y=y+(yf-xf*recorte);
1860
							yf=xf*recorte;
1860
							yf=xf*recorte;
1861
							x=0;	
1861
							x=0;	
1862
						}
1862
						}
1863
				 	}	
1863
					}	
1864
					
1864
 
1865
				}
1865
				}
Línea 1866... Línea 1866...
1866
				}else{
1866
				}else{