From bd6ffb77f1958fb46b18fb5d63f1e255e47fc750 Mon Sep 17 00:00:00 2001
From: jeje <jeremy.rioux@student-cs.fr>
Date: Wed, 12 Mar 2025 14:51:47 +0100
Subject: [PATCH] cefor

---
 Objet/__pycache__/ui.cpython-311.pyc | Bin 22281 -> 22406 bytes
 Objet/ui.py                          |   2 +-
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/Objet/__pycache__/ui.cpython-311.pyc b/Objet/__pycache__/ui.cpython-311.pyc
index e884539f6ffa50148a0334d979e402cca22dce3e..06e6dfe0f4170afeb139c200e1b3066000c8bfc8 100644
GIT binary patch
delta 240
zcmeBN$Jn->k#{*SFBbz4SWmo|zJDWcp$d~9-{uCDgItV9C)=p&O)k(9n#`iFB~Zgt
z#mc}?1ysw#(8-%3J9(A9`sRuHzLJawHsAN)VrC59{L1?Un~B&2wuu~5I3{r1(9mAP
zx`A^8=MIgF2F_PN$n^x*MT4M=8bK2{CveWtxG11}1%y;L-wv9}$f&%zFhrG6HiVhg
hh4BLec53qG&=*EkEQ}x(xT%j2xi4@flh20P008agNelo0

delta 172
zcmZo$&)B(+k#{*SFBbz4F!x?e&)>*fsKWGzcXNZvK`zEQlWo-XC-dtGZN91>Ey*}_
zv!N#!Gh@(Z8=n_!oDvf_CUQ;Tn!vR=B6unzqvGawA*zhB!OW~Kj2{@VQ<DwCUKmxf
UFoIOzranUCzQC1C_6oNF007}Ii~s-t

diff --git a/Objet/ui.py b/Objet/ui.py
index 2cd5596..2384829 100644
--- a/Objet/ui.py
+++ b/Objet/ui.py
@@ -306,6 +306,7 @@ class UI:
                 valid_to_down("ant_bl")
                 valid_to_right("ant_tr")
                 update_y()
+                get_point("ant_tr").y = get_point("ant_tl").y
                 get_point("set_height").y = net.y - self.set_height * ant_height
                 get_point("set_margin_over").y = net.y - self.set_margin_over * ant_height
                 get_point("set_margin_under").y = net.y - self.set_margin_under * ant_height
@@ -321,6 +322,5 @@ class UI:
                 update_center("wind_r_m", "wind_r_tl", "wind_r_br")
 
 
-
 if __name__ == "__main__":
     subprocess.run(["python", "Objet/Main.py"])
\ No newline at end of file
-- 
GitLab