Skip to content

Commit 0209c37

Browse files
committed
"[CHECKPOINT] additional work"
1 parent 193a077 commit 0209c37

File tree

1 file changed

+2
-1
lines changed
  • projects/wml-components-base/src/lib

1 file changed

+2
-1
lines changed

projects/wml-components-base/src/lib/models.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -479,13 +479,14 @@ export class WMLMotionUIProperty<V=any,T="animation" | "transition"> extends WML
479479
return parseFloat(a) - parseFloat(b);
480480
})
481481
let currentTransitionIndex = sortedStyles.findIndex(([key])=>key == this.currentTransitionInfo.keyframe)
482+
482483
let nextTransitionIndex = {
483484
"opening": currentTransitionIndex + 1,
484485
"closing": currentTransitionIndex - 1
485486
}[this.motionState];
486487
this.currentTransitionInfo.keyframe = sortedStyles[nextTransitionIndex][0]
487488
console.log((JSON.stringify(this.style,null,2)))
488-
489+
489490
Object.assign(this.style, {
490491
...sortedStyles[nextTransitionIndex][1]
491492
})

0 commit comments

Comments
 (0)