Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
grtlr committed Nov 29, 2024
1 parent 5c00d50 commit 95e12e3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion crates/viewer/re_space_view_graph/src/graph/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ use crate::{
visualizers::{EdgeData, NodeData, NodeInstance},
};

/// Describes the differen kind of nodes that we can have in a graph.
/// Describes the different kind of nodes that we can have in a graph.
pub enum Node {
/// An explicit node is a node that was provided via [`re_types::archetypes::GraphNodes`].
///
Expand Down
4 changes: 2 additions & 2 deletions crates/viewer/re_ui/src/zoom_pan_area.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ pub fn zoom_pan_area(
ui: &Ui,
view_bounds_in_ui: Rect,
ui_from_scene: &mut TSTransform,
draw_contens: impl FnOnce(&mut Ui),
draw_contents: impl FnOnce(&mut Ui),
) -> Response {
let area_resp = Area::new(ui.id().with("zoom_pan_area"))
.constrain_to(view_bounds_in_ui)
Expand Down Expand Up @@ -90,7 +90,7 @@ pub fn zoom_pan_area(
ui.set_clip_rect(ui_from_scene.inverse() * view_bounds_in_ui);

// Add the actual contents to the area:
draw_contens(ui);
draw_contents(ui);

pan_response
});
Expand Down

0 comments on commit 95e12e3

Please sign in to comment.