Skip to content

Commit

Permalink
Fix draw interfaces
Browse files Browse the repository at this point in the history
  • Loading branch information
AlpenAalAlex committed Feb 7, 2024
1 parent a2d8287 commit 3dc2913
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion phobos/blender/display.py
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ def draw_callback_2d(self, context):
nUtils.getObjectName(interface),
to2d(interface.matrix_world.translation),
textsize=6,
textcolor=(*color, 1.0 if interface.show_name else 0.4),
textcolor=(*color[0:3], 1.0 if interface.show_name else 0.4),
backgroundcolor=(*bgcolor, 1.0) if interface.show_name else colors['background'],
linewidth=3 if interface.show_name else 2,
)
Expand Down

0 comments on commit 3dc2913

Please sign in to comment.