From a0ca094e787f965b18235a3d818e95e9c1a7b782 Mon Sep 17 00:00:00 2001 From: Oscar Gustafsson <oscar.gustafsson@gmail.com> Date: Sun, 23 Apr 2023 13:08:13 +0200 Subject: [PATCH] Fix height when redrawing --- b_asic/scheduler_gui/scheduler_item.py | 1 + 1 file changed, 1 insertion(+) diff --git a/b_asic/scheduler_gui/scheduler_item.py b/b_asic/scheduler_gui/scheduler_item.py index 8a09b7b1..8453ea5f 100644 --- a/b_asic/scheduler_gui/scheduler_item.py +++ b/b_asic/scheduler_gui/scheduler_item.py @@ -247,6 +247,7 @@ class SchedulerItem(SchedulerEvent, QGraphicsItemGroup): # PySide2 / PyQt5 ): self._set_position(graph_id) self._redraw_all_lines() + self._update_axes() def _redraw_all(self) -> None: for graph_id in self._operation_items: -- GitLab