Adjustments to timer

This commit is contained in:
Joshua Granick
2013-12-01 22:56:15 -08:00
parent 155e75943e
commit 7643a87079

View File

@@ -188,13 +188,13 @@ namespace lime {
if (mTimer != null) {
if (next > 0) {
if (next > 0.001) {
mTimer->Start (next * 1000.0);
} else {
mTimer->Start (10);
mTimer->Start (1);
}
@@ -242,13 +242,13 @@ namespace lime {
double next = sgTizenFrame->GetStage ()->GetNextWake () - GetTimeStamp ();
if (next > 0) {
if (next > 0.001) {
mTimer->Start (next * 1000.0);
} else {
mTimer->Start (10);
mTimer->Start (1);
}