mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
Change switch knob colour
This commit is contained in:
parent
99e28068f9
commit
e5d68df527
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ class Switch(QAbstractButton):
|
|||
)
|
||||
|
||||
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())
|
||||
|
||||
def _paint_label(self, painter: QPainter) -> None:
|
||||
|
|
Loading…
Reference in a new issue