diff options
| author | Kaalleen <36401965+kaalleen@users.noreply.github.com> | 2024-08-17 09:08:24 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-17 09:08:24 +0200 |
| commit | 45c873a3040bb0837ada8fbfab323d189b2a8a2f (patch) | |
| tree | 69b78890bd5b74e3bee943d2c2b250d1e5252680 /lib | |
| parent | 88fa78a9ad9f723edf32c4e9bd7b803b04899c66 (diff) | |
fix slider dark theme issue (#3147)
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/gui/simulator/simulator_slider.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gui/simulator/simulator_slider.py b/lib/gui/simulator/simulator_slider.py index fe86e1e6..89def234 100644 --- a/lib/gui/simulator/simulator_slider.py +++ b/lib/gui/simulator/simulator_slider.py @@ -129,7 +129,7 @@ class SimulatorSlider(wx.Panel): gc.DrawRectangle(start_x, height * self.color_bar_start, end_x - start_x, height * self.color_bar_thickness) - if self.is_dark_theme() and sys.platform != "win32": + if self.control_panel.is_dark_theme() and sys.platform != "win32": gc.SetPen(wx.Pen(wx.Colour(0, 0, 0), 1)) gc.SetBrush(wx.Brush(wx.Colour(255, 255, 255))) else: |
