From c01940f0250eac0a9f6c09c2c6ce73f614818a64 Mon Sep 17 00:00:00 2001 From: Matthias Patscheider Date: Sat, 27 Jan 2024 11:38:47 +0200 Subject: [PATCH] #468 Text can overlap Background Box --- collider_shapes/add_bounding_primitive.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/collider_shapes/add_bounding_primitive.py b/collider_shapes/add_bounding_primitive.py index 3eae43e..72f4d10 100644 --- a/collider_shapes/add_bounding_primitive.py +++ b/collider_shapes/add_bounding_primitive.py @@ -341,7 +341,7 @@ def draw_viewport_overlay(self, context): # backdrop box box_left = bpy.context.area.width / 2 - 240 / 20 * font_size - box_right = bpy.context.area.width / 2 + 240 / 20 * font_size + box_right = bpy.context.area.width / 2 + 260 / 20 * font_size box_top = font_size * len(items) * 1.75 box_bottom = 10