This commit is contained in:
koopthekoopa
2025-01-12 16:07:57 +00:00
parent 7d16ea7ca9
commit 84d6d158fa
3 changed files with 4 additions and 4 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 120 KiB

After

Width:  |  Height:  |  Size: 257 KiB

View File

@@ -53,8 +53,8 @@ namespace homebutton {
}
break;
}
// Animate in a bouncy way; Once reaching the maximum frame, it then animates forward.
// And once reaching the minimum frame, it animates forwards. Then repeat.
// Animate in a bouncy way; Once reaching the maximum frame, it then animates forwards.
// And once reaching the minimum frame, it animates backwards. Then repeat.
case ANIM_TYPE_BOUNCE: {
if (mbBounceBack == false) {
if ((mFrame += mDelta) >= getLastFrame()) {

View File

@@ -58,8 +58,8 @@ namespace ipl {
}
break;
}
// Animate in a bouncy way; Once reaching the maximum frame, it then animates forward.
// And once reaching the minimum frame, it animates forwards. Then repeat.
// Animate in a bouncy way; Once reaching the maximum frame, it then animates forwards.
// And once reaching the minimum frame, it animates backwards. Then repeat.
case ANIM_TYPE_BOUNCE: {
if (mbBounceBack == false) {
if ((mFrame += speed) >= mMaxFrame) {