From 6f39d76a3eadc2869ed00155b5d0f5ab54bd6bc0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20Dre=C3=9Fler?= Date: Fri, 26 Feb 2021 14:36:35 +0100 Subject: [PATCH] keyboard: Remove unused argument Part-of: --- 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 ddec8b3ae..9e9a66fc6 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();