From 73d59c2d0f5e11d021f75d85ee2d61df67bb6348 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tor=20Hedin=20Br=C3=B8nner?= Date: Thu, 18 Jan 2018 02:54:00 +0100 Subject: [PATCH] Use easeOutQuad curve when bringing windows into view If an animation needs to wait for a window covering it to move it should start out fast. --- tiling.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tiling.js b/tiling.js index f835af8..c10aa3e 100644 --- a/tiling.js +++ b/tiling.js @@ -432,7 +432,7 @@ function ensure_viewport(space, meta_window, force) { if (meta_window.get_compositor_private().is_scaled()) { // easeInQuad: delta/2(t/duration)^2 + start delay = Math.pow(2*(stack_margin - minimumMargin)/frame.width, .5)*0.25/2; - transition = 'easeInOutQuad'; + transition = 'easeOutQuad'; debug('delay', delay) } space.moving = meta_window;