Add "precision" to boxpointer alignment

Allows the boxpointer arrow to be at a fixed percentage of the bubble

https://bugzilla.gnome.org/show_bug.cgi?id=642031
This commit is contained in:
Sardem FF7
2011-02-09 18:27:00 +01:00
committed by Dan Winship
parent 140022aaf2
commit 8f3376ce62
7 changed files with 12 additions and 30 deletions

View File

@ -505,7 +505,7 @@ AppIconMenu.prototype = {
if (St.Widget.get_default_direction() == St.TextDirection.RTL)
side = St.Side.RIGHT;
PopupMenu.PopupMenu.prototype._init.call(this, source.actor, St.Align.MIDDLE, side, 0);
PopupMenu.PopupMenu.prototype._init.call(this, source.actor, 0.5, side, 0);
this._source = source;