Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cinnamenu@json: Set clip_to_allocation to true #6220

Merged
merged 1 commit into from
Jul 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Cinnamenu@json/files/Cinnamenu@json/5.8/appsview.js
Original file line number Diff line number Diff line change
Expand Up @@ -417,6 +417,7 @@ class AppsView {
() => { this.appThis.menu.passEvents = false; });
this.applicationsScrollBox.add_actor(this.applicationsBoxWrapper);
this.applicationsScrollBox.set_policy(Gtk.PolicyType.NEVER, Gtk.PolicyType.AUTOMATIC);
this.applicationsScrollBox.set_clip_to_allocation(true);
this.applicationsScrollBox.set_auto_scrolling(this.appThis.settings.enableAutoScroll);
this.applicationsScrollBox.set_mouse_scrolling(true);
this.appsViewSignals.connect(this.applicationsScrollBox, 'button-release-event',
Expand Down
1 change: 1 addition & 0 deletions Cinnamenu@json/files/Cinnamenu@json/5.8/categoriesview.js
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,7 @@ class CategoriesView {
new St.ScrollView({ style_class: 'vfade menu-categories-scrollbox' });
this.groupCategoriesWorkspacesScrollBox.add_actor(this.groupCategoriesWorkspacesWrapper);
this.groupCategoriesWorkspacesScrollBox.set_policy(Gtk.PolicyType.NEVER, Gtk.PolicyType.NEVER);
this.groupCategoriesWorkspacesScrollBox.set_clip_to_allocation(true);
this.groupCategoriesWorkspacesScrollBox.set_auto_scrolling(this.appThis.settings.enableAutoScroll);
this.groupCategoriesWorkspacesScrollBox.set_mouse_scrolling(true);
if (!this.appThis.settings.showCategories) {
Expand Down
1 change: 1 addition & 0 deletions Cinnamenu@json/files/Cinnamenu@json/5.8/sidebar.js
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@ class Sidebar {

this.sidebarScrollBox.add_actor(this.innerBox);
this.sidebarScrollBox.set_policy(Gtk.PolicyType.NEVER, Gtk.PolicyType.NEVER);
this.sidebarScrollBox.set_clip_to_allocation(true);
this.sidebarScrollBox.set_auto_scrolling(this.appThis.settings.enableAutoScroll);
this.sidebarScrollBox.set_mouse_scrolling(true);
const style_class = this.appThis.settings.useBoxStyle ? 'menu-favorites-box' : '';
Expand Down