messageTray: Remove unused method parameter
The alignment of the arrow tip regarding the source actor is set with setSourceAlignment() and its default is already 0.5 . https://bugzilla.gnome.org/show_bug.cgi?id=678164
This commit is contained in:
parent
b4464929cb
commit
02428019fa
@ -2490,11 +2490,10 @@ const MessageTray = new Lang.Class({
|
|||||||
},
|
},
|
||||||
|
|
||||||
_adjustSummaryBoxPointerPosition: function() {
|
_adjustSummaryBoxPointerPosition: function() {
|
||||||
// The position of the arrow origin should be the same as center of this._clickedSummaryItem.actor
|
|
||||||
if (!this._clickedSummaryItem)
|
if (!this._clickedSummaryItem)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
this._summaryBoxPointer.setPosition(this._clickedSummaryItem.actor, 0, 0.5);
|
this._summaryBoxPointer.setPosition(this._clickedSummaryItem.actor, 0);
|
||||||
},
|
},
|
||||||
|
|
||||||
_unsetClickedSummaryItem: function() {
|
_unsetClickedSummaryItem: function() {
|
||||||
|
Loading…
Reference in New Issue
Block a user