From b036816c6916f8217aeb8604cfa882155af55738 Mon Sep 17 00:00:00 2001 From: talkincheap <58603537+talkincheap@users.noreply.github.com> Date: Thu, 3 Oct 2024 20:20:57 +0300 Subject: [PATCH] Update profile.ts --- src/canvas/eventsmode-profile/profile.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/canvas/eventsmode-profile/profile.ts b/src/canvas/eventsmode-profile/profile.ts index 67b7452..99ba40e 100644 --- a/src/canvas/eventsmode-profile/profile.ts +++ b/src/canvas/eventsmode-profile/profile.ts @@ -113,7 +113,7 @@ async function drawRoundedProgressBar( y: number, width: number, height: number, - progress: number, // progress от 0 до 100 + progress: number, // progress from 0 to 100 borderRadius: number, ) { const normalizedProgress = Math.max(0, Math.min(progress, 100)) / 100;