MCPcopy
hub / github.com/paperwm/PaperWM / animateDown

Function animateDown

tiling.js:4282–4289  ·  view source on GitHub ↗
(metaWindow)

Source from the content-addressed store, hash-verified

4280}
4281
4282export function animateDown(metaWindow) {
4283 let space = spaces.spaceOfWindow(metaWindow);
4284 let workArea = space.workArea();
4285 Easer.addEase(metaWindow.clone, {
4286 y: workArea.y,
4287 time: Settings.prefs.animation_time,
4288 });
4289}
4290
4291export function ensuredX(meta_window, space) {
4292 let index = space.indexOf(meta_window);

Callers 1

ensureViewportFunction · 0.85

Calls 2

spaceOfWindowMethod · 0.80
workAreaMethod · 0.80

Tested by

no test coverage detected