MCPcopy Create free account
hub / github.com/material-shell/material-shell / endTransition

Method endTransition

src/utils/transition.ts:234–243  ·  view source on GitHub ↗
(actorsLeftList: Clutter.Actor[])

Source from the content-addressed store, hash-verified

232 }
233
234 endTransition(actorsLeftList: Clutter.Actor[]): void {
235 this.container.translation_x = 0;
236 this.container.translation_y = 0;
237 for (const child of this.container.get_children()) {
238 child.set_translation(0, 0, 0);
239 child.show();
240 }
241 this.animationInProgress = false;
242 this.emit('transition-completed', actorsLeftList);
243 }
244}

Callers 1

setTranslationMethod · 0.95

Calls 4

set_translationMethod · 0.80
get_childrenMethod · 0.65
showMethod · 0.65
emitMethod · 0.65

Tested by

no test coverage detected