mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
popupMenu: Never add ornament padding to image items
PopupImageMenuItem moves the ornament after the label, so we don't need the additional padding that accounts for visible ornaments for regular items. Spotted by Sebastian Keller. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2843>
This commit is contained in:
parent
ad34082fd1
commit
8e9398be7e
1 changed files with 5 additions and 0 deletions
|
|
@ -474,6 +474,11 @@ class PopupImageMenuItem extends PopupBaseMenuItem {
|
|||
else
|
||||
this._icon.icon_name = icon;
|
||||
}
|
||||
|
||||
_updateOrnamentStyle() {
|
||||
// we move the ornament after the label, so we don't need
|
||||
// additional padding regardless of ornament visibility
|
||||
}
|
||||
});
|
||||
|
||||
var PopupMenuBase = class extends Signals.EventEmitter {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue