Skip to content

Commit

Permalink
lints
Browse files Browse the repository at this point in the history
  • Loading branch information
abey79 committed Jan 24, 2025
1 parent d7030cc commit 707e7f3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crates/viewer/re_ui/src/list_item/list_item.rs
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,9 @@ impl ListItem {
/// visible.
///
/// Skipping rendering can increase performances for long lists that are mostly out of view, but
/// this will prevent any side effects from [`ListItemContent::ui`] from occuring. For this
/// this will prevent any side effects from [`ListItemContent::ui`] from occurring. For this
/// reason, this is an opt-in optimization.
#[inline]
pub fn render_offscreen(mut self, render_offscreen: bool) -> Self {
self.render_offscreen = render_offscreen;
self
Expand Down

0 comments on commit 707e7f3

Please sign in to comment.