diff options
Diffstat (limited to 'object_scatter')
-rw-r--r-- | object_scatter/operator.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/object_scatter/operator.py b/object_scatter/operator.py index 5294d173..742eec95 100644 --- a/object_scatter/operator.py +++ b/object_scatter/operator.py @@ -394,7 +394,7 @@ def draw_text(location, text, size=15, color=(1, 1, 1, 1)): font_id = 0 ui_scale = bpy.context.preferences.system.ui_scale blf.position(font_id, *location) - blf.size(font_id, round(size * ui_scale), bpy.context.preferences.system.dpi) + blf.size(font_id, round(size * ui_scale), 72) blf.draw(font_id, text) |