Skip to content

Commit

Permalink
added doc (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
blitzarx1 authored May 2, 2023
1 parent 81277fd commit 5281610
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/elements.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ pub struct Node<N: Clone> {
pub selected: bool,
pub dragged: bool,

/// This field is recomputed on every frame
/// This field is recomputed on every frame. Not available for client and not sent in changes.
pub(crate) radius: f32,
/// This field is recomputed on every frame
/// This field is recomputed on every frame. Not available for client and not sent in changes.
pub(crate) selected_child: bool,
/// This field is recomputed on every frame
/// This field is recomputed on every frame. Not available for client and not sent in changes.
pub(crate) selected_parent: bool,
}

Expand Down Expand Up @@ -102,9 +102,9 @@ pub struct Edge<E: Clone> {
pub color: Option<Color32>,
pub selected: bool,

/// This field is recomputed on every frame
/// This field is recomputed on every frame. Not available for client and not sent in changes.
pub(crate) selected_child: bool,
/// This field is recomputed on every frame
/// This field is recomputed on every frame. Not available for client and not sent in changes.
pub(crate) selected_parent: bool,
}

Expand Down

0 comments on commit 5281610

Please sign in to comment.