[gnome-shell/gbsneto/custom-icon-positions: 28/35] appDisplay: Fully hide icon when dragging



commit 60311aa4d164afed7283ed5138523b6f4c6c9cbb
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Wed Jun 24 12:53:36 2020 -0300

    appDisplay: Fully hide icon when dragging
    
    The partially visible icon causes more problems than
    it solves, visually speaking. Fade it out completely
    while dragging.
    
    https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1284

 js/ui/appDisplay.js | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js
index 546d509b04..3346c8ffd9 100644
--- a/js/ui/appDisplay.js
+++ b/js/ui/appDisplay.js
@@ -1365,9 +1365,9 @@ class AppViewItem extends St.Button {
     scaleAndFade() {
         this.reactive = false;
         this.ease({
-            scale_x: 0.75,
-            scale_y: 0.75,
-            opacity: 128,
+            scale_x: 0.5,
+            scale_y: 0.5,
+            opacity: 0,
         });
     }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]