Fix positioning of the Calendar on multihead
Parens were in the wrong place, resulting in the calendar not being properly centered on the primary monitor. https://bugzilla.gnome.org/show_bug.cgi?id=597078
This commit is contained in:
parent
c0b01c0210
commit
4c6f770dea
@ -546,7 +546,7 @@ CalendarPopup.prototype = {
|
||||
// Reset the calendar to today's date
|
||||
this.calendar.setDate(new Date());
|
||||
|
||||
this.actor.x = Math.round((panelActor.x + panelActor.width - this.actor.width) / 2);
|
||||
this.actor.x = Math.round(panelActor.x + (panelActor.width - this.actor.width) / 2);
|
||||
this.actor.lower(panelActor);
|
||||
this.actor.show();
|
||||
Tweener.addTween(this.actor,
|
||||
|
Loading…
Reference in New Issue
Block a user