Skip to content

Commit

Permalink
UI: Fix visibility and lock checkbox styling on system theme
Browse files Browse the repository at this point in the history
In 7931f2a the classes have been
removed in favor of properties, but this styling change appears to have
been reverted by accident, likely by the theming overhaul.
  • Loading branch information
gxalpha authored and RytoEX committed May 12, 2024
1 parent b82a49e commit 03313a6
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions UI/data/themes/System.obt
Original file line number Diff line number Diff line change
Expand Up @@ -213,31 +213,31 @@ OBSBasicSettings QListWidget::item {

/* Locked CheckBox */

LockedCheckBox {
QCheckBox[lockCheckBox=true] {
outline: none;
background: transparent;
}

LockedCheckBox::indicator:checked {
QCheckBox[lockCheckBox=true]::indicator:checked {
image: url(:res/images/locked.svg);
}

LockedCheckBox::indicator:unchecked {
QCheckBox[lockCheckBox=true]::indicator:unchecked {
image: url(:res/images/unlocked.svg);
}

/* Visibility CheckBox */

VisibilityCheckBox {
QCheckBox[visibilityCheckBox=true] {
outline: none;
background: transparent;
}

VisibilityCheckBox::indicator:checked {
QCheckBox[visibilityCheckBox=true]::indicator:checked {
image: url(:res/images/visible.svg);
}

VisibilityCheckBox::indicator:unchecked {
QCheckBox[visibilityCheckBox=true]::indicator:unchecked {
image: url(:res/images/invisible.svg);
}

Expand Down

0 comments on commit 03313a6

Please sign in to comment.