Skip to content

Commit

Permalink
fix: 클릭 이펙트 크기 조정
Browse files Browse the repository at this point in the history
  • Loading branch information
HyeokjinKang committed Jan 24, 2025
1 parent c55bbd5 commit 4630b8b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion public/js/play.js
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ const drawParticle = (n, x, y, j, d) => {
//Click Note
const raf = (w, s, n) => {
ctx.beginPath();
let width = canvas.width / 20;
let width = canvas.width / 24;
if (Date.now() - s >= 800) return;
let p = 100 * easeOutQuad((Date.now() - s) / 800);
ctx.lineWidth = ((100 - p) / 100) * (canvas.width / 40);
Expand Down
2 changes: 1 addition & 1 deletion public/js/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ const drawParticle = (n, x, y, j, d) => {
//Click Note
const raf = (w, s, n) => {
ctx.beginPath();
let width = canvas.width / 20;
let width = canvas.width / 24;
if (Date.now() - s >= 800) return;
let p = 100 * easeOutQuad((Date.now() - s) / 800);
ctx.lineWidth = ((100 - p) / 100) * (canvas.width / 40);
Expand Down
2 changes: 1 addition & 1 deletion public/js/tutorial.js
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ const drawParticle = (n, x, y, j, d) => {
//Click Note
const raf = (w, s, n) => {
ctx.beginPath();
let width = canvas.width / 20;
let width = canvas.width / 24;
if (Date.now() - s >= 800) return;
let p = 100 * easeOutQuad((Date.now() - s) / 800);
ctx.lineWidth = ((100 - p) / 100) * (canvas.width / 40);
Expand Down

0 comments on commit 4630b8b

Please sign in to comment.