[Bf-extensions-cvs] [c4e60d35] master: Archipack: bugfix preset location

Stephen Leger noreply at git.blender.org
Wed Jan 8 19:17:15 CET 2020


Commit: c4e60d35eb3365ba21c47caacb9ff8b9e01b8c26
Author: Stephen Leger
Date:   Wed Jan 8 19:14:20 2020 +0100
Branches: master
https://developer.blender.org/rBAc4e60d35eb3365ba21c47caacb9ff8b9e01b8c26

Archipack: bugfix preset location

===================================================================

M	archipack/archipack_preset.py

===================================================================

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])



More information about the Bf-extensions-cvs mailing list