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



commit 512780c30d566e29afd505862046763e3b3aec92
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 2dfed89fd4..e5532e305d 100644
--- a/js/ui/appDisplay.js
+++ b/js/ui/appDisplay.js
@@ -1366,9 +1366,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]