Skip to content

Commit

Permalink
Fixed scrollView error on Gnome 46
Browse files Browse the repository at this point in the history
Using scrollView.add_child() instead of scrollView.add_actor()
  • Loading branch information
mendres82 committed Mar 27, 2024
1 parent a6640e3 commit 16ad2b5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions indicator.js
Original file line number Diff line number Diff line change
Expand Up @@ -294,8 +294,8 @@ class AwsIndicator extends PanelMenu.Button {
style_class: 'session-menu-section',
overlay_scrollbars: true
});
scrollView.add_actor(this._sessionsMenuSection.actor);
this._scrollableSessionsMenuSection.actor.add_actor(scrollView);
scrollView.add_child(this._sessionsMenuSection.actor);
this._scrollableSessionsMenuSection.actor.add_child(scrollView);

this.menu.addMenuItem(this._scrollableSessionsMenuSection);
}
Expand Down Expand Up @@ -574,4 +574,4 @@ class AwsIndicator extends PanelMenu.Button {

}

});
});

0 comments on commit 16ad2b5

Please sign in to comment.