mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
layout: Use translation_y of 0 to hide keyboard
Since we show the keyboard using a translation_y of -keyboardHeight, the keyboard will be moved down far enough to be out of sight by setting translation_y to 0. https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1142
This commit is contained in:
parent
8dfed7e762
commit
b68fb35783
1 changed files with 1 additions and 1 deletions
|
|
@ -765,7 +765,7 @@ var LayoutManager = GObject.registerClass({
|
|||
this._keyboardHeightNotifyId = 0;
|
||||
}
|
||||
this.keyboardBox.ease({
|
||||
translation_y: this.keyboardBox.height,
|
||||
translation_y: 0,
|
||||
opacity: 0,
|
||||
duration: immediate ? 0 : KEYBOARD_ANIMATION_TIME,
|
||||
mode: Clutter.AnimationMode.EASE_IN_QUAD,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue