Skip to content

Commit

Permalink
menu applet: fix menu changing size (#11720)
Browse files Browse the repository at this point in the history
Fix menu changing size after reopening.

fixes: #11712
  • Loading branch information
fredcw committed Jun 22, 2023
1 parent 127e3c5 commit 5a97bfc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
3 changes: 0 additions & 3 deletions files/usr/share/cinnamon/applets/[email protected]/applet.js
Original file line number Diff line number Diff line change
Expand Up @@ -1431,9 +1431,6 @@ class CinnamonMenuApplet extends Applet.TextIconApplet {
this.main_container.natural_height = (height * global.ui_scale);
this.main_container.natural_width = (width * global.ui_scale);

this.menu.actor.set_width(width * global.ui_scale);
this.menu.actor.set_height(height * global.ui_scale);

this._update_scroll_policy(this.favoritesBox, this.favoritesScrollBox);
this._update_scroll_policy(this.categoriesBox, this.categoriesScrollBox);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -192,11 +192,11 @@
},
"popup-width" : {
"type" : "generic",
"default" : 650
"default" : 630
},
"popup-height" : {
"type" : "generic",
"default" : 650
"default" : 615
},
"reset-menu-size-button" : {
"type" : "button",
Expand Down

0 comments on commit 5a97bfc

Please sign in to comment.