Skip to content

Commit 3437c99

Browse files
Make break progress bar smoother
1 parent c6814ec commit 3437c99

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/renderer/components/break/break-progress.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ export function BreakProgress({
9696
});
9797

9898
if (!isClosingRef.current) {
99-
timeoutId = setTimeout(tick, 200);
99+
timeoutId = setTimeout(tick, 50);
100100
}
101101
};
102102

@@ -165,7 +165,7 @@ export function BreakProgress({
165165
style={{ backgroundColor: "rgba(255, 255, 255, 0.2)" }}
166166
>
167167
<div
168-
className="h-full transition-all duration-300 ease-out"
168+
className="h-full transition-all duration-75 ease-out"
169169
style={{
170170
backgroundColor: textColor,
171171
width: `${progressPercentage}%`,

0 commit comments

Comments
 (0)