Archipack: bugfix preset location

This commit is contained in:
stephen leger 2020-01-08 19:14:20 +01:00
parent 47612b6e00
commit c4e60d35eb
1 changed files with 1 additions and 0 deletions

View File

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