keyboard: Remove unused argument

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1728>
This commit is contained in:
Jonas Dreßler 2021-02-26 14:36:35 +01:00 committed by Marge Bot
parent 9f415f1c89
commit 6f39d76a3e

View File

@ -1824,7 +1824,7 @@ var Keyboard = GObject.registerClass({
keyboardBox.queue_relayout(); keyboardBox.queue_relayout();
} }
_animateHide(immediate) { _animateHide() {
if (this._focusWindow) if (this._focusWindow)
this._animateWindow(this._focusWindow, false); this._animateWindow(this._focusWindow, false);
@ -1835,7 +1835,7 @@ var Keyboard = GObject.registerClass({
this.ease({ this.ease({
translation_y: 0, translation_y: 0,
opacity: 0, opacity: 0,
duration: immediate ? 0 : KEYBOARD_ANIMATION_TIME, duration: KEYBOARD_ANIMATION_TIME,
mode: Clutter.AnimationMode.EASE_IN_QUAD, mode: Clutter.AnimationMode.EASE_IN_QUAD,
onComplete: () => { onComplete: () => {
this._animateHideComplete(); this._animateHideComplete();