From 6abb401a2ca289b97edd11a86a0eadec44b2ee71 Mon Sep 17 00:00:00 2001 From: EYHN Date: Thu, 6 Jun 2024 07:39:59 +0000 Subject: [PATCH] fix(core): remove extra console log (#7160) --- packages/frontend/component/src/ui/avatar/avatar.tsx | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/packages/frontend/component/src/ui/avatar/avatar.tsx b/packages/frontend/component/src/ui/avatar/avatar.tsx index e479033538..f81612f163 100644 --- a/packages/frontend/component/src/ui/avatar/avatar.tsx +++ b/packages/frontend/component/src/ui/avatar/avatar.tsx @@ -65,17 +65,6 @@ function drawImageFit( const ratio = Math.max(hRatio, vRatio); const centerShift_x = (size - img.width * ratio) / 2; const centerShift_y = (size - img.height * ratio) / 2; - console.log(ctx.canvas); - ctx.canvas.dataset['drawed'] = 'true'; - console.log( - 'drawImageFit', - img.width, - img.height, - size, - ratio, - centerShift_x, - centerShift_y - ); ctx.drawImage( img, 0,