Skip to content

Commit

Permalink
Fix typo in table
Browse files Browse the repository at this point in the history
  • Loading branch information
madcodelife committed Jul 31, 2024
1 parent d1c19c5 commit 35c3b13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/ui/src/table.rs
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,7 @@ where

/// Render the column header.
/// The children must be one by one items.
/// Becuase the horizontal scroll handle will use the child_item_bounds to
/// Because the horizontal scroll handle will use the child_item_bounds to
/// calculate the item position for itself's `scroll_to_item` method.
fn render_th(&self, col_ix: usize, cx: &mut ViewContext<Self>) -> impl IntoElement {
let entity_id = cx.entity_id();
Expand Down

0 comments on commit 35c3b13

Please sign in to comment.