From 5f06b5aeed0bb56cf09bb5c96c940ceeb638f593 Mon Sep 17 00:00:00 2001 From: "l.gabrysiak" Date: Sun, 2 Mar 2025 16:50:40 +0100 Subject: [PATCH] mod letter --- backend/open_webui/models/users.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/open_webui/models/users.py b/backend/open_webui/models/users.py index 8e3a96f..78987fa 100644 --- a/backend/open_webui/models/users.py +++ b/backend/open_webui/models/users.py @@ -397,7 +397,7 @@ class UsersTable: text_width = bbox[2] - bbox[0] text_hight = bbox[3] - bbox[1] x = (size[0] - text_width) // 2 - y = (size[1] - bbox[1]) // 2 # Poprawione obliczenie pozycji y + y = (size[1] - text_hight) // 2 # Poprawione obliczenie pozycji y print(y) print(text_hight) draw.text((x, y), letter, font=font, fill=text_color)