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:

committed by
Florian Müllner

parent
00f9b7bf69
commit
2e070ab834
@ -66,7 +66,7 @@ function _unpremultiply(color) {
|
||||
|
||||
class AppMenu extends PopupMenu.PopupMenu {
|
||||
constructor(sourceActor) {
|
||||
super(sourceActor, 0.0, St.Side.TOP);
|
||||
super(sourceActor, 0.5, St.Side.TOP);
|
||||
|
||||
this.actor.add_style_class_name('app-menu');
|
||||
|
||||
|
Reference in New Issue
Block a user