[gnome-shell] keyboard: Remove unused argument



commit 6f39d76a3eadc2869ed00155b5d0f5ab54bd6bc0
Author: Jonas Dreßler <verdre v0yd nl>
Date:   Fri Feb 26 14:36:35 2021 +0100

    keyboard: Remove unused argument
    
    Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1728>

 js/ui/keyboard.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/js/ui/keyboard.js b/js/ui/keyboard.js
index ddec8b3aed..9e9a66fc6e 100644
--- a/js/ui/keyboard.js
+++ b/js/ui/keyboard.js
@@ -1824,7 +1824,7 @@ var Keyboard = GObject.registerClass({
         keyboardBox.queue_relayout();
     }
 
-    _animateHide(immediate) {
+    _animateHide() {
         if (this._focusWindow)
             this._animateWindow(this._focusWindow, false);
 
@@ -1835,7 +1835,7 @@ var Keyboard = GObject.registerClass({
         this.ease({
             translation_y: 0,
             opacity: 0,
-            duration: immediate ? 0 : KEYBOARD_ANIMATION_TIME,
+            duration: KEYBOARD_ANIMATION_TIME,
             mode: Clutter.AnimationMode.EASE_IN_QUAD,
             onComplete: () => {
                 this._animateHideComplete();


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