diff options
| author | Kaalleen <36401965+kaalleen@users.noreply.github.com> | 2025-03-30 04:29:39 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-30 06:29:39 +0200 |
| commit | 2d18a061e3427aecb06506944f68539270f497e9 (patch) | |
| tree | 03be704ef356cff466347dc225cc12682c4cffea /lib/gui/simulator/drawing_panel.py | |
| parent | 7ae5a4b91b1c8a738e0f36c9fbbf52c688f4d989 (diff) | |
macOS Ventura: update background color (#3621)
Diffstat (limited to 'lib/gui/simulator/drawing_panel.py')
| -rw-r--r-- | lib/gui/simulator/drawing_panel.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/gui/simulator/drawing_panel.py b/lib/gui/simulator/drawing_panel.py index 1ffdfaa4..745bd464 100644 --- a/lib/gui/simulator/drawing_panel.py +++ b/lib/gui/simulator/drawing_panel.py @@ -307,8 +307,7 @@ class DrawingPanel(wx.Panel): def set_background_color(self, color): self.background_color = color - # this refresh is necessary for macOS - self.Refresh() + self._update_background_color() def _update_background_color(self): if not self.page_specs: |
