diff --git a/Objet/__pycache__/ui.cpython-311.pyc b/Objet/__pycache__/ui.cpython-311.pyc index e884539f6ffa50148a0334d979e402cca22dce3e..06e6dfe0f4170afeb139c200e1b3066000c8bfc8 100644 Binary files a/Objet/__pycache__/ui.cpython-311.pyc and b/Objet/__pycache__/ui.cpython-311.pyc differ diff --git a/Objet/ui.py b/Objet/ui.py index 2cd559625fb45004f927d15c54029f2a24bdb066..2384829d604084e8841ab946c6f7cd6ed7ff2515 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