Skip to content

Commit 7b244f7

Browse files
committed
[CHECKPOINT] before upgrading to next angular version
1 parent 901bc84 commit 7b244f7

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/FUNDING.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,6 @@ polar: windmillcode
99
thanks_dev: windmillcode
1010
custom:
1111
- "https://www.gofundme.com/f/strengthen-our-business-to-take-on-bigger-initiati?utm_campaign=p_lico+share-sheet-first-launch&utm_medium=copy_link&utm_source=customer"
12+
- https://www.kickstarter.com/projects/windmillcode/windmillcode-angular-cdk
1213

1314

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,12 @@ export class WMLMotionUIProperty<V=any,T=any> extends WMLView<V,T> {
131131
Object.assign(this, { ...Object.fromEntries(origProps) });
132132
this.injectKeyframes()
133133

134+
if (this.motionState === "closed") {
135+
Object.assign(this.style, this.keyFrameStyles["0%"]);
136+
} else {
137+
Object.assign(this.style, this.keyFrameStyles["100%"]);
138+
}
134139

135-
Object.assign(this.style, this.motionState === "closed" ?this.keyFrameStyles["0%"] : this.keyFrameStyles["100%"])
136140
if(this.autoOpen){
137141
this.motionState = "opening"
138142
this.style.animationName = this.keyFrameName

0 commit comments

Comments
 (0)