diff --git a/js/ui/popupMenu.js b/js/ui/popupMenu.js index fc6140569..99e7a336d 100644 --- a/js/ui/popupMenu.js +++ b/js/ui/popupMenu.js @@ -61,7 +61,7 @@ PopupBaseMenuItem.prototype = { }, _onStyleChanged: function (actor) { - this._spacing = actor.get_theme_node().get_length('spacing'); + this._spacing = Math.round(actor.get_theme_node().get_length('spacing')); }, _onButtonReleaseEvent: function (actor, event) {