feat: dirty-Markierung + Standard-Hinweis + Bloom 0.01-Schritte im Panel

- Werte abweichend vom Standard werden amber markiert
- klickbarer Hinweis '↺ <Standard>' zeigt Originalwert (Bugfix: _defaultEl wurde nie zugewiesen)
- Bloom-Schwelle jetzt in 0.01-Schritten einstellbar

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
minecraft-cloneandClaude committed 2026-06-21 18:24:35 +02:00
1 parent 6e8e207afa
commit 951cb26f3f
2 files changed
+98 -19

No files matched your search

+14 -1
View File
@@ -84,7 +84,8 @@ canvas { display: block; }
#overlay {
position: fixed;
inset: 0;
background: radial-gradient(circle at 50% 40%, rgba(40,70,110,0.85), rgba(10,20,35,0.92));
background: radial-gradient(circle at 50% 50%, #3339 0%, #111c 120%);
backdrop-filter: blur(1em);
display: flex;
align-items: center;
justify-content: center;
@@ -202,6 +203,18 @@ body.panel-open #crosshair { opacity: 0; pointer-events: none; transition: opaci
.badge { font-size: 10px; padding: 1px 5px; border-radius: 8px; margin-left: 6px; vertical-align: middle; }
.badge.live { background: rgba(80,200,120,0.18); color: #7ee2a0; }
.badge.reload { background: rgba(255,180,60,0.18); color: #ffc870; }
.ctrl-head-right { display: inline-flex; align-items: center; gap: 7px; }
/* Standard-Wert-Hinweis (nur sichtbar wenn der Wert abweicht = dirty) */
.ctrl-default {
font-size: 11px; color: #8a92a0; cursor: pointer; white-space: nowrap;
padding: 1px 6px; border-radius: 8px; border: 1px solid transparent;
transition: color 0.15s, background 0.15s, border-color 0.15s; user-select: none;
}
.ctrl-default[hidden] { display: none; }
.ctrl-default:hover { color: #ffc870; background: rgba(255,180,60,0.12); border-color: rgba(255,180,60,0.35); }
/* Dirty-Markierung: Wert weicht vom Standard ab → Label + Wert in amber */
.ctrl-row.dirty .ctrl-label { color: #ffc870; }
.ctrl-row.dirty .ctrl-value { color: #ffc870; }
/* Range-Slider */
.ctrl-row input[type=range] {