Comments (3)
I noticed this too - I was poking around in the source to try to figure out why this was happening. Something related to Foundation.Timer.scheduledTimer(timeInterval
maybe?
from timer-app.
When I was making the app more energy efficient, I made sure that the UI is only updated once per second. I think what may be happening is that in the unusual case where you happen to start the countdown very close to the seconds boundary, you could get an update at, say 8.99 seconds and then at 8.01 seconds, which would both show as "8".
Note the Foundation repeating timers don't "drift" -- you don't get 8.99 then 7.95 then 6.91, then 5.86. It's just an issue of variance around the boundary where you might get 8.99 then 8.01 then 6.99 then 6.01.
This implies the fix is to make sure the repeating timer starts safely away from a boundary -- to make sure you get updates at for example 9.09, 8.11, 7.08, 6.10, 5.09 (the variance doesn't affect the significant digit).
from timer-app.
Fix #94 looks good.
from timer-app.
Related Issues (20)
- Option for app to quit on close window/s HOT 2
- No red badge on Dock icon with remaining time on Big Sur HOT 3
- Apple Script API HOT 1
- Keep the last sound alert in memory HOT 3
- Option to stay on top HOT 1
- Too much contrast in dark mode HOT 2
- 15, 30 and 45 minutes alignement HOT 6
- no response HOT 1
- Timer is not counting down HOT 3
- Scroll wheel or gesture to increase or decrease timer HOT 2
- Enhancement: It will be nice if the timer window has floating option HOT 1
- A Notifications Center widget for Catalina?
- Pause indication confusing HOT 1
- Cannot open app. System moved to Bin HOT 1
- Sound reset on restart app. HOT 1
- Make timer-app available via MacPorts HOT 1
- No timer notifications in sleep mode
- Could it could the amount of times it reached 0? HOT 2
- Adding intents for the app to use with Shortcuts or Alfred
- Support for desktop widgets in Mac OS Sonoma
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from timer-app.