panel: Center-align menu arrows

Center alignment looks more balanced and makes it more likely that
the menu opens below the pointer position.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/1351
This commit is contained in:
Florian Müllner
2019-06-14 18:58:50 +00:00
committed by Florian Müllner
parent 00f9b7bf69
commit 2e070ab834
4 changed files with 4 additions and 4 deletions

View File

@ -810,7 +810,7 @@ class InputSourceIndicatorContainer extends St.Widget {
var InputSourceIndicator = GObject.registerClass(
class InputSourceIndicator extends PanelMenu.Button {
_init() {
super._init(0.0, _("Keyboard"));
super._init(0.5, _("Keyboard"));
this.connect('destroy', this._onDestroy.bind(this));