Skip to content

Commit

Permalink
πŸ› filter empty plugins for calculating scroll offset (#125)
Browse files Browse the repository at this point in the history
This fixes the scrolling issue below #114.
  • Loading branch information
friedow authored Apr 2, 2024
1 parent 88670c5 commit 62d1d33
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions client/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,7 @@ impl Centerpiece {
Some(active_entry_id) => self
.plugins
.iter()
.filter(|plugin| plugin.entries.len() > 0)
.position(|plugin| {
plugin
.entries
Expand Down

0 comments on commit 62d1d33

Please sign in to comment.