fix: gray out unavailable hardware codec setting

This commit is contained in:
dijunkun
2026-07-23 11:10:02 +08:00
parent 2c20599800
commit 31b8983328
5 changed files with 13 additions and 6 deletions
+1 -1
View File
@@ -295,7 +295,7 @@ export component ImGuiCheckBox inherits Rectangle {
border-radius: 4px;
if root.checked: Text {
text: FontAwesomeIcons.check;
color: #2e86de;
color: root.enabled ? #2e86de : #8b8f95;
font-family: "Font Awesome 6 Free";
font-weight: 900;
font-size: 16px;