Skip to content

Commit

Permalink
Update crates/viewer/re_view_graph/src/ui/draw.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Antoine Beyeler <[email protected]>
  • Loading branch information
grtlr and abey79 authored Dec 16, 2024
1 parent 813ad48 commit b7b8b17
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/viewer/re_view_graph/src/ui/draw.rs
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ fn draw_text_label(ui: &mut Ui, label: &TextLabel, highlight: InteractionHighlig
.inner
}

/// Draw a rectangle to "fake" a label at small scales, where actual text would be unreadable anyways.
fn draw_rect_label(ui: &mut Ui, label: &TextLabel, highlight: InteractionHighlight) -> Response {
let TextLabel {
galley,
Expand Down

0 comments on commit b7b8b17

Please sign in to comment.