Commit 5031df45 authored by Luc Didry's avatar Luc Didry
Browse files

Remove debug console.log

parent d26d5406
Pipeline #27231 passed with stages
in 24 seconds
...@@ -914,7 +914,6 @@ function drawCtx(inGallery, ctx, rc, ra, ws, wc, wa, wf, wfs, w, wx, wy, ps, pc, ...@@ -914,7 +914,6 @@ function drawCtx(inGallery, ctx, rc, ra, ws, wc, wa, wf, wfs, w, wx, wy, ps, pc,
* Drawing functions * Drawing functions
*/ */
function drawOver(ctx, rc, ra, ws, wc, wa, wf, wfs, w, wx, wy, ps, pc, pa, pf, pfs, p, px, py, gli, width, height, bth, r, rx, ry, rs, rr, ww, pw, woc, wos, poc, pos) { function drawOver(ctx, rc, ra, ws, wc, wa, wf, wfs, w, wx, wy, ps, pc, pa, pf, pfs, p, px, py, gli, width, height, bth, r, rx, ry, rs, rr, ww, pw, woc, wos, poc, pos) {
console.log(ctx.lineWidth);
// Inside rounded rectangle // Inside rounded rectangle
if (bth > 0) { if (bth > 0) {
ctx.lineWidth = bth; ctx.lineWidth = bth;
......
...@@ -60,7 +60,7 @@ var Y=new Image,Z="img/"+T ...@@ -60,7 +60,7 @@ var Y=new Image,Z="img/"+T
if(0===parseFloat(z)?(z=Math.round(1e3*K)/1e3,!0!==e&&$("#custom-size").val(z)):K=z,!0!==e){var Q=new URL(window.location) if(0===parseFloat(z)?(z=Math.round(1e3*K)/1e3,!0!==e&&$("#custom-size").val(z)):K=z,!0!==e){var Q=new URL(window.location)
window.history.pushState("change","WemaWema",createUrl(Q,c,g,m,s,o,l,n,i,W,p,w,b,d,h,v,u,f,q,S,r,k,C,t,F,R,L,T,I,x,P,y,O,G,z,U,D,B,N,E,A,J,M,V,j))}a.drawImage(Y,0,0,H,_,O,G,H*K,_*K),drawOver(a,t,r,s,o,l,n,i,c,g,m,d,h,v,u,f,p,w,b,k,P,y,x,D,B,N,E,A,W,q,J,M,V,j)}}return window.history.pushState("change","WemaWema",createUrl(Q,c,g,m,s,o,l,n,i,W,p,w,b,d,h,v,u,f,q,S,r,k,C,t,F,R,L,T,I,x,P,y,O,G,z,U,D,B,N,E,A,J,M,V,j))}a.drawImage(Y,0,0,H,_,O,G,H*K,_*K),drawOver(a,t,r,s,o,l,n,i,c,g,m,d,h,v,u,f,p,w,b,k,P,y,x,D,B,N,E,A,W,q,J,M,V,j)}}return
case"rainbow":var H=a.createLinearGradient(P/2,0,P/2,y),ee=svg.createLinearGradient(P/2,0,P/2,y) case"rainbow":var H=a.createLinearGradient(P/2,0,P/2,y),ee=svg.createLinearGradient(P/2,0,P/2,y)
H.addColorStop(0,"#e50000"),H.addColorStop(.2,"#ff8d00"),H.addColorStop(.4,"#ffee00"),H.addColorStop(.6,"#008121"),H.addColorStop(.8,"#004cff"),H.addColorStop(1,"#760188"),ee.addColorStop(0,"#e50000"),ee.addColorStop(.2,"#ff8d00"),ee.addColorStop(.4,"#ffee00"),ee.addColorStop(.6,"#008121"),ee.addColorStop(.8,"#004cff"),ee.addColorStop(1,"#760188"),a.fillStyle=H,svg.fillStyle=ee}roundRect(a,0,0,P,y,parseInt(I),!0,!1),drawOver(a,t,r,s,o,l,n,i,c,g,m,d,h,v,u,f,p,w,b,k,P,y,x,D,B,N,E,A,W,q,J,M,V,j)}function drawOver(e,a,t,r,s,o,l,n,i,c,g,m,d,h,v,u,f,p,w,b,k,P,y,x,C,S,I,T,z,F,R,L,O,G){console.log(e.lineWidth),y>0&&(e.lineWidth=y,e.strokeStyle=colorToRGBA(a,t),roundRect(e,1*k/32,1*P/16,15*k/16,7*P/8,20,!1)),e.textAlign="center" H.addColorStop(0,"#e50000"),H.addColorStop(.2,"#ff8d00"),H.addColorStop(.4,"#ffee00"),H.addColorStop(.6,"#008121"),H.addColorStop(.8,"#004cff"),H.addColorStop(1,"#760188"),ee.addColorStop(0,"#e50000"),ee.addColorStop(.2,"#ff8d00"),ee.addColorStop(.4,"#ffee00"),ee.addColorStop(.6,"#008121"),ee.addColorStop(.8,"#004cff"),ee.addColorStop(1,"#760188"),a.fillStyle=H,svg.fillStyle=ee}roundRect(a,0,0,P,y,parseInt(I),!0,!1),drawOver(a,t,r,s,o,l,n,i,c,g,m,d,h,v,u,f,p,w,b,k,P,y,x,D,B,N,E,A,W,q,J,M,V,j)}function drawOver(e,a,t,r,s,o,l,n,i,c,g,m,d,h,v,u,f,p,w,b,k,P,y,x,C,S,I,T,z,F,R,L,O,G){y>0&&(e.lineWidth=y,e.strokeStyle=colorToRGBA(a,t),roundRect(e,1*k/32,1*P/16,15*k/16,7*P/8,20,!1)),e.textAlign="center"
var U="regular"===n?"":n+" " var U="regular"===n?"":n+" "
if(e.font=U+parseInt(r)+"px '"+l+"'",e.fillStyle=colorToRGBA(s,o),L>0&&(e.strokeStyle=R,e.lineWidth=L,e.strokeText(i,parseInt(c),parseInt(g),z)),e.fillText(i,parseInt(c),parseInt(g),z),U="regular"===u?"":u+" ",e.font=U+parseInt(m)+"px '"+v,e.fillStyle=colorToRGBA(d,h),G>0&&(e.strokeStyle=O,e.lineWidth=G,e.strokeText(f,parseInt(p),parseInt(w),F)),e.fillText(f,parseInt(p),parseInt(w),F),x){var D=new Image if(e.font=U+parseInt(r)+"px '"+l+"'",e.fillStyle=colorToRGBA(s,o),L>0&&(e.strokeStyle=R,e.lineWidth=L,e.strokeText(i,parseInt(c),parseInt(g),z)),e.fillText(i,parseInt(c),parseInt(g),z),U="regular"===u?"":u+" ",e.font=U+parseInt(m)+"px '"+v,e.fillStyle=colorToRGBA(d,h),G>0&&(e.strokeStyle=O,e.lineWidth=G,e.strokeText(f,parseInt(p),parseInt(w),F)),e.fillText(f,parseInt(p),parseInt(w),F),x){var D=new Image
D.src="img/Rick.png",D.onload=function(){C=parseInt(C),S=parseInt(S) D.src="img/Rick.png",D.onload=function(){C=parseInt(C),S=parseInt(S)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment