From 7e0ce1ddadd2bb0b44a25691aabb17182d230f5c Mon Sep 17 00:00:00 2001 From: Simon Schneegans Date: Wed, 2 Nov 2022 05:18:55 +0100 Subject: [PATCH] :wrench: Tweak glide defaults [generate-references] --- resources/shaders/glide.frag | 2 +- resources/ui/gtk3/Glide.ui | 4 ++-- resources/ui/gtk4/Glide.ui | 4 ++-- .../org.gnome.shell.extensions.burn-my-windows.gschema.xml | 6 +++--- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/resources/shaders/glide.frag b/resources/shaders/glide.frag index 306d7ca..862e3d1 100644 --- a/resources/shaders/glide.frag +++ b/resources/shaders/glide.frag @@ -33,7 +33,7 @@ void main() { coords.y /= mix(1.0, (1.0 - uSquish), progress); // 'Tilt' image texture around x-axis. - coords.x /= mix(1.0, 1.0 - uTilt * coords.y, progress); + coords.x /= mix(1.0, 1.0 - 0.1 * uTilt * coords.y, progress); // Move texture coordinate center to corner again. coords = coords * 0.5 + 0.5; diff --git a/resources/ui/gtk3/Glide.ui b/resources/ui/gtk3/Glide.ui index 1527492..18959ed 100644 --- a/resources/ui/gtk3/Glide.ui +++ b/resources/ui/gtk3/Glide.ui @@ -29,8 +29,8 @@ SPDX-License-Identifier: GPL-3.0-or-later - 0.5 - -0.5 + 1 + -1 0.01 0.1 diff --git a/resources/ui/gtk4/Glide.ui b/resources/ui/gtk4/Glide.ui index feae530..d780347 100644 --- a/resources/ui/gtk4/Glide.ui +++ b/resources/ui/gtk4/Glide.ui @@ -182,8 +182,8 @@ SPDX-License-Identifier: GPL-3.0-or-later 300 - 0.5 - -0.5 + 1 + -1 0.01 0.1 diff --git a/schemas/org.gnome.shell.extensions.burn-my-windows.gschema.xml b/schemas/org.gnome.shell.extensions.burn-my-windows.gschema.xml index 2a4e924..13aa8f2 100644 --- a/schemas/org.gnome.shell.extensions.burn-my-windows.gschema.xml +++ b/schemas/org.gnome.shell.extensions.burn-my-windows.gschema.xml @@ -314,13 +314,13 @@ SPDX-License-Identifier: CC0-1.0 - 200 + 300 Glide Animation Time The time the glide effect takes. - 0.85 + 0.9 Glide Scale The scale of the window. @@ -332,7 +332,7 @@ SPDX-License-Identifier: CC0-1.0 - -0.1 + -0.4 Glide Tilt The amount of tilting.