Proyectos de Subversion LeadersLinked - Backend

Rev

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

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