popupMenu: fix spacing between columns
This patch didn't get updated for the st_theme_node_get_spacing() change.
This commit is contained in:
parent
c3e557b162
commit
f365484a5c
@ -81,9 +81,7 @@ PopupBaseMenuItem.prototype = {
|
|||||||
},
|
},
|
||||||
|
|
||||||
_onStyleChanged: function (actor) {
|
_onStyleChanged: function (actor) {
|
||||||
let themeNode = actor.get_theme_node();
|
this._spacing = actor.get_theme_node().get_length('spacing');
|
||||||
let [found, spacing] = themeNode.get_length('spacing', false);
|
|
||||||
this._spacing = found ? spacing : 0;
|
|
||||||
},
|
},
|
||||||
|
|
||||||
_hoverChanged: function (actor) {
|
_hoverChanged: function (actor) {
|
||||||
|
Loading…
Reference in New Issue
Block a user