Change switch knob colour

This commit is contained in:
RumovZ 2021-03-31 09:16:25 +02:00
parent 99e28068f9
commit e5d68df527

View File

@ -91,7 +91,7 @@ class Switch(QAbstractButton):
) )
def _paint_knob(self, painter: QPainter) -> None: def _paint_knob(self, painter: QPainter) -> None:
painter.setBrush(QBrush(theme_manager.qcolor(colors.HIGHLIGHT_BG))) painter.setBrush(QBrush(theme_manager.qcolor(colors.LINK)))
painter.drawEllipse(self._current_knob_rectangle()) painter.drawEllipse(self._current_knob_rectangle())
def _paint_label(self, painter: QPainter) -> None: def _paint_label(self, painter: QPainter) -> None: