LibBars-1.0

3 - Timer countdown transition to tenths of seconds

What steps will reproduce the problem?
1. Create any timer bar and observe remaining time as counter drops to 10 seconds.

What is the expected output? What do you see instead?

What I'd like to see is a smooth transition from displaying whole numbers of seconds (when >= 10 seconds) to displaying tenths of seconds (when < 10 seconds). Currently this transition happens somewhat randomly between 10 and 11 seconds left so you may sometimes first see tenths of a second at 10.2 or 10.8 or whatever.

What version of the product are you using?

r16

Please provide any additional information below.

I modified UpdateTimer code to address this. I replaced "elseif valueClamped > 10 then" with "elseif abs(value) >= 9.95 then". This makes the transition always happen consistently at 9.9 seconds.

User When Change
Tomber Mar 14, 2009 at 19:49 UTC Changed name from Timer countdown as transition to including tenths of seconds to Timer countdown transition to tenths of seconds

Changed type from Defect to Enhancement
Tomber Mar 14, 2009 at 18:24 UTC Create

You must login to post a comment. Don't have an account? Register to get one!

Facts

Last updated
Mar 14, 2009
Reported
Mar 14, 2009
Status
New - Issue has not had initial review yet.
Type
Enhancement - A change which is intended to better the project in some way
Priority
Medium - Normal priority.
Votes
0

Reported by

Possible assignees