mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-08 13:43:43 +00:00
example: ++corection
This commit is contained in:
parent
0a43beb89b
commit
62a4e7e6dd
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ struct UserExample : tvgexam::Example
|
||||||
//slotsample
|
//slotsample
|
||||||
{
|
{
|
||||||
auto progress = tvgexam::progress(elapsed, slotAnimation->duration());
|
auto progress = tvgexam::progress(elapsed, slotAnimation->duration());
|
||||||
slotAnimation->frame(markerAnimation->totalFrame() * progress);
|
slotAnimation->frame(slotAnimation->totalFrame() * progress);
|
||||||
}
|
}
|
||||||
|
|
||||||
//marker
|
//marker
|
||||||
|
|
Loading…
Add table
Reference in a new issue