pomotroid
pomotroid copied to clipboard
weird behaviour of the percentage circle
when I minimize the timer on windows, the circle that shows the running time visually stops. It also shows some weird behaviour sometimes - for example, sometimes I stop the timer but the circle continues running. (see the images) I'm on windows 10.
@diksown thanks for the contribution. The visual dial stops because the requestAnimationFrame
is throttled when the window is minimized. It should update its position when the window is re-focused.
As for the dial continuing to advance when the timer is paused, sounds like a bug and I need to investigate further.
well, it doesn't update the position as it should :s
when I focus in the window again, the timer is correct, but the circle is on the same position where I left it (it should advance too)
so it's kinda weird, sometimes the circle advances even with the time stopped, sometimes it stops when the timer is still running.