Added bad shader warning instead of hard fail
Some checks failed
CI / React UI Build (push) Successful in 11s
CI / Native Windows Build And Tests (push) Successful in 1m32s
CI / Windows Release Package (push) Failing after 2m15s

This commit is contained in:
2026-05-06 12:44:22 +10:00
parent 414ef62479
commit ff1b7519a0
11 changed files with 170 additions and 23 deletions

View File

@@ -749,6 +749,22 @@ pre {
box-shadow: inset 0 0 0 1px var(--app-primary-soft);
}
.shader-picker__option--unavailable {
border-color: rgba(217, 83, 79, 0.45);
background: rgba(217, 83, 79, 0.08);
opacity: 1;
}
.shader-picker__option:disabled {
cursor: not-allowed;
opacity: 1;
}
.shader-picker__option--unavailable .shader-picker__name,
.shader-picker__option--unavailable .shader-picker__meta {
color: #ffd0cf;
}
.shader-picker__name,
.shader-picker__meta {
min-width: 0;
@@ -788,6 +804,12 @@ pre {
white-space: nowrap;
}
.shader-picker__category--error {
border-color: rgba(217, 83, 79, 0.45);
background: var(--app-error-soft);
color: #ffd0cf;
}
.shader-picker__meta {
display: -webkit-box;
overflow: hidden;