feat(dashboard): make brightness slider shorter
All checks were successful
Build and Publish Docker Image / build-and-push (push) Successful in 1m3s

This commit is contained in:
2025-10-31 02:07:38 +00:00
parent 9edda5808f
commit 475e88bffb

View File

@@ -6,7 +6,7 @@ import { useEffect, useRef } from "react"
import cn from "./components/lib/cn" import cn from "./components/lib/cn"
import { Tile } from "./components/tile" import { Tile } from "./components/tile"
const LIGHT_CONTROL_TILE_SLIDER_BAR_COUNT = 40 const LIGHT_CONTROL_TILE_SLIDER_BAR_COUNT = 36
// Store brightness as step (0-43) to match the 44 bars exactly // Store brightness as step (0-43) to match the 44 bars exactly
// Step 0 = OFF, Steps 1-43 map to bars 42-0 // Step 0 = OFF, Steps 1-43 map to bars 42-0