File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ void FrameAnimation::_tick()
58
58
_blue_canvas->draw ();
59
59
60
60
// 10 FPS canvas must be draw once every 6x
61
- if (_counter % 10 == 0 )
61
+ if (_counter % 6 == 0 )
62
62
_red_canvas->draw ();
63
63
64
64
_counter++;
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ void TimeAnimation::_tick()
69
69
}
70
70
71
71
// 10 FPS canvas must be draw once every 6x
72
- if (_counter % 10 == 0 )
72
+ if (_counter % 6 == 0 )
73
73
{
74
74
// Compute how much time passed since the last update
75
75
qint64 passed = now - _last_time_10fps;
Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ void TimeAnimationImproved::_tick()
76
76
}
77
77
78
78
// 10 FPS canvas must be draw once every 6x
79
- if (_counter % 10 == 0 )
79
+ if (_counter % 6 == 0 )
80
80
{
81
81
// Compute how much time passed since the last update
82
82
qint64 passed = now - _last_time_10fps;
You can’t perform that action at this time.
0 commit comments