Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 10905 Rev 10907
Línea 1189... Línea 1189...
1189
					
1189
					
1190
					}else{					
1190
					}else{					
Línea 1191... Línea 1191...
1191
					 scale = -(((ancho-500)/ancho)-1);
1191
					 scale = -(((ancho-500)/ancho)-1);
1192
				
1192
				
1193
					}
1193
					}
1194
					scale=scale*0.85;
1194
					scale=scale*0.80;
1195
					if(edit){
1195
					if(edit){
1196
						if((ancho*recorte)<=alto){
1196
						if((ancho*recorte)<=alto){
1197
							xf=ancho*.70;
1197
							xf=ancho*.70;
Línea 1257... Línea 1257...
1257
					pxf=xf/pyf;
1257
					pxf=xf/pyf;
1258
					px=(320/2)-(pxf/2);
1258
					px=(320/2)-(pxf/2);
1259
					noticia.drawImage(imagen,x,y,xf,yf,px,0,pxf,480);
1259
					noticia.drawImage(imagen,x,y,xf,yf,px,0,pxf,480);
1260
				}
1260
				}
Línea 1261... Línea 1261...
1261
				
1261
				
1262
				$(".editorNoticia").css({"transform": "scale("+scale+")"});
1262
				$("#editorNoticia").css({"transform": "scale("+scale+")"});
1263
				if(!recorte_listo){
1263
				if(!recorte_listo){
1264
					editor.drawImage(imagen,0,0,ancho,alto);
1264
					editor.drawImage(imagen,0,0,ancho,alto);
1265
					editor.fillStyle="rgba(0,0,0,.2)"
1265
					editor.fillStyle="rgba(0,0,0,.2)"
1266
					editor.fillRect(0,0,ancho,alto);
1266
					editor.fillRect(0,0,ancho,alto);