summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorCircleShift <kgunger12@gmail.com>2025-06-21 15:25:11 -0400
committerCircleShift <kgunger12@gmail.com>2025-06-21 15:25:11 -0400
commit63be9fc5416f6cd3aef911cecacdb697d7b86362 (patch)
treeff35936b1a86ade84395ecf8d98f2dd14133de81 /scripts
parent1b8b5dac5c5e1f12c15d72d0e43ac1cbfa7cada3 (diff)
Slider percentage fixes
Diffstat (limited to 'scripts')
-rw-r--r--scripts/main.js2
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) },