panel-buttons: Remove transitions for corner buttons
So far transitions do not work for the custom drawn corners, so to avoid a visible glitch when transitioning a button in the panel corner while updating the style of the apparently attached corner instantly, remove transition of those panel buttons until we make it work for the custom drawn parts as well. https://bugzilla.gnome.org/show_bug.cgi?id=642697
This commit is contained in:
parent
977f45cdb9
commit
526384320e
@ -269,10 +269,16 @@ StTooltip StLabel {
|
||||
icon-shadow: black 0px 2px 2px;
|
||||
}
|
||||
|
||||
/* The rounded panel corners we draw don't
|
||||
* support transitions, so disable transitions
|
||||
* for the buttons at the left/right edges
|
||||
*/
|
||||
#panelActivities {
|
||||
transition-duration: 0;
|
||||
}
|
||||
|
||||
#panelStatus {
|
||||
transition-duration: 0;
|
||||
}
|
||||
|
||||
#panelStatusMenu {
|
||||
|
@ -871,6 +871,7 @@ Panel.prototype = {
|
||||
this._rightBox.add(this._statusBox);
|
||||
|
||||
this._statusmenu = new StatusMenu.StatusMenuButton();
|
||||
this._statusmenu.actor.name = 'panelStatus';
|
||||
this._menus.addMenu(this._statusmenu.menu);
|
||||
this._rightBox.add(this._statusmenu.actor);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user