diff options
author | Vilém Duha <vilda.novak@gmail.com> | 2019-09-03 10:51:29 +0300 |
---|---|---|
committer | Vilém Duha <vilda.novak@gmail.com> | 2019-09-04 10:06:10 +0300 |
commit | 42e44bdf6df03c583e22a8ed835faeaa762af8c2 (patch) | |
tree | b4388886b04bb6cc6534a93c1218cbff7d42abd6 /blenderkit/ui.py | |
parent | ce1c8aaa50ace2faae8424c13b741fe836775477 (diff) |
BlenderKit: asset bar thumbnail size in user preferences
Diffstat (limited to 'blenderkit/ui.py')
-rw-r--r-- | blenderkit/ui.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/blenderkit/ui.py b/blenderkit/ui.py index dd4e765b..966d35bb 100644 --- a/blenderkit/ui.py +++ b/blenderkit/ui.py @@ -1116,7 +1116,7 @@ def update_ui_size(area, region): ui_scale = bpy.context.preferences.view.ui_scale ui.margin = ui.bl_rna.properties['margin'].default * ui_scale - ui.thumb_size = ui.bl_rna.properties['thumb_size'].default * ui_scale + ui.thumb_size = user_preferences.thumb_size * ui_scale reg_multiplier = 1 if not bpy.context.preferences.system.use_region_overlap: |