Update knob component defaults and clean up unused code

Adjusted the default value, minValue, and step for the volume knob to improve precision. Removed unused `KnobBackgroundCls` and cleaned up unnecessary whitespace for better readability and maintainability.
This commit is contained in:
2025-05-15 16:11:31 +02:00
parent 29cc78c6ba
commit 14e097a2cb
5 changed files with 7 additions and 8 deletions

View File

@@ -137,11 +137,11 @@ class MainView : Komponent() {
div(ControlsCss.name) {
include(
ExpKnobComponent(
value = 0.0,
value = 0.001,
label = "Volume",
minValue = 0.0,
minValue = 0.001,
maxValue = 1.0,
step = 5.0 / 127.0,
step = 10.0 / 127.0,
width = 100,
height = 120,
) { value ->

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long