Why should I set the value to zero? I have to keep visible the timeline ( in my case a moving line from left to right ) that disappear in the right size of the widget when I resize it ( while playing a sound )
I think you didn't understand my scenario, sure for my bad english sorry.
"If division by 0 is a bad thing then why does division exist at all?"
In other words, I didn't say the routine is bad, I said it's bad in your case (actually it's not that bad in this situation but once you start adding more functionality it might become bad)
Best Regards
Bookmarks