From b7b8b17f5198c7f7f268f20db9b629263d6df501 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jochen=20G=C3=B6rtler?= Date: Mon, 16 Dec 2024 11:04:19 +0100 Subject: [PATCH] Update crates/viewer/re_view_graph/src/ui/draw.rs Co-authored-by: Antoine Beyeler <49431240+abey79@users.noreply.github.com> --- crates/viewer/re_view_graph/src/ui/draw.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/viewer/re_view_graph/src/ui/draw.rs b/crates/viewer/re_view_graph/src/ui/draw.rs index e13555b9b1ed..4c65360093dd 100644 --- a/crates/viewer/re_view_graph/src/ui/draw.rs +++ b/crates/viewer/re_view_graph/src/ui/draw.rs @@ -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,