Skip to content

Commit 934cf20

Browse files
cleanup
1 parent ba63bc6 commit 934cf20

File tree

1 file changed

+0
-45
lines changed

1 file changed

+0
-45
lines changed

Diff for: demo/app/main-view-model.ts

-45
Original file line numberDiff line numberDiff line change
@@ -97,50 +97,5 @@ export class HelloWorldModel extends Observable {
9797
});
9898
}, 2000);
9999
});
100-
101-
102-
// let's animate the grabbed image on and off screen in an iOS-screenshot style fashion
103-
this.screenshot.animate({
104-
opacity: 0.8,
105-
scale: {
106-
x: 0.5,
107-
y: 0.5
108-
},
109-
translate: {
110-
x: -20,
111-
y: 40
112-
},
113-
duration: 500
114-
});
115-
setTimeout(() => {
116-
this.screenshot.animate({
117-
opacity: 0,
118-
scale: {
119-
x: 0.5,
120-
y: 0.5
121-
},
122-
translate: {
123-
x: -300,
124-
y: 40
125-
},
126-
duration: 500
127-
});
128-
129-
setTimeout(() => {
130-
this.screenshot.animate({
131-
opacity: 0,
132-
scale: {
133-
x: 1,
134-
y: 1
135-
},
136-
translate: {
137-
x: 0,
138-
y: 0
139-
},
140-
duration: 0
141-
});
142-
}, 600);
143-
144-
}, 2000);
145100
}
146101
}

0 commit comments

Comments
 (0)