Skip to content

Commit

Permalink
Merge pull request #301 from boostcampwm-2024/Feat/31
Browse files Browse the repository at this point in the history
[Fix] canvas 잘못된 변수 주입 수정
  • Loading branch information
zero0205 authored Nov 28, 2024
2 parents c4b6b36 + d7fe663 commit 7dc944a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/client/src/pages/Broadcast/BroadcastPlayer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ function BroadcastPlayer({
// 화면이 더 좁은 경우
draw.width = canvas.height * screenRatio;
console.log('width', canvas.height / screenRatio);
draw.x = (canvas.width - draw.height) / 2;
draw.x = (canvas.width - draw.width) / 2;
}

// 화면 공유 그리기
Expand Down

0 comments on commit 7dc944a

Please sign in to comment.