diff options
author | CircleShift <kgunger12@gmail.com> | 2025-06-21 15:25:11 -0400 |
---|---|---|
committer | CircleShift <kgunger12@gmail.com> | 2025-06-21 15:25:11 -0400 |
commit | 63be9fc5416f6cd3aef911cecacdb697d7b86362 (patch) | |
tree | ff35936b1a86ade84395ecf8d98f2dd14133de81 /scripts/main.js | |
parent | 1b8b5dac5c5e1f12c15d72d0e43ac1cbfa7cada3 (diff) |
Slider percentage fixes
Diffstat (limited to 'scripts/main.js')
-rw-r--r-- | scripts/main.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/main.js b/scripts/main.js index cd213a2..d0f4e28 100644 --- a/scripts/main.js +++ b/scripts/main.js @@ -10,7 +10,7 @@ class Client { { type: "button", name: "bt", props: {}, }, { type: "checkbox", name: "cb", props: {}, state: true }, { type: "toggle", name: "tg", props: {}, state: false }, - { type: "slider", name: "sli", props: {max: 10, min: 1}, state: 6 }, + { type: "slider", name: "sli", props: {max: 10, min: 1, percent: true}, state: 6 }, { type: "color-light", name: "cli", state: 0.7 }, { type: "color-temp", name: "ctp", state: 3000 }, { type: "color-wheel", name: "cwh", state: Color.from_rgb(255, 200, 200) }, |