Browse Source

Force white icons for a few skins

tags/v1.9.11
falkTX 7 years ago
parent
commit
6e5861daa7
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      source/frontend/carla_skin.py

+ 4
- 0
source/frontend/carla_skin.py View File

@@ -360,6 +360,10 @@ class AbstractPluginSlot(QFrame, PluginEditParentMeta):
isCalfSkin = self.fSkinStyle.startswith("calf") and not isinstance(self, PluginSlot_Compact)
imageSuffix = "white" if self.fDarkStyle else "black"

if self.fSkinStyle.startswith("calf") or self.fSkinStyle.startswith("openav") or self.fSkinStyle in (
"3bandeq", "3bandsplitter", "pingpongpan", "nekobi", "calf_black", "zynfx"):
imageSuffix = "white"

if self.b_enable is not None:
self.b_enable.setChecked(self.fIsActive)
self.b_enable.clicked.connect(self.slot_enableClicked)


Loading…
Cancel
Save