Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Leger <stephen@3dservices.ch>2020-01-08 21:14:20 +0300
committerStephen Leger <stephen@3dservices.ch>2020-01-08 21:14:46 +0300
commitc4e60d35eb3365ba21c47caacb9ff8b9e01b8c26 (patch)
tree6655909ee808b13468e9e8df5c0cbf07329a43f4 /archipack
parent47612b6e007ece4a5b0982d33462ec1e94efe7a4 (diff)
Archipack: bugfix preset location
Diffstat (limited to 'archipack')
-rw-r--r--archipack/archipack_preset.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/archipack/archipack_preset.py b/archipack/archipack_preset.py
index f859b51f..ae230295 100644
--- a/archipack/archipack_preset.py
+++ b/archipack/archipack_preset.py
@@ -306,6 +306,7 @@ class PresetMenu():
def set_pos(self, context):
x_min, x_max, y_min, y_max = self.screen.size(context)
+ y_max -= 20
p0, p1, p2, p3 = Vector((x_min, y_min)), Vector((x_min, y_max)), Vector((x_max, y_max)), Vector((x_max, y_min))
self.bg.set_pos([p0, p2])
self.border.set_pos([p0, p1, p2, p3])