summaryrefslogtreecommitdiffstats
path: root/types.nim
diff options
context:
space:
mode:
Diffstat (limited to 'types.nim')
-rw-r--r--types.nim8
1 files changed, 4 insertions, 4 deletions
diff --git a/types.nim b/types.nim
index eefd104..92dd464 100644
--- a/types.nim
+++ b/types.nim
@@ -43,8 +43,8 @@ type
lightHue*: Option[int]
lightSaturation*: Option[int]
lightColorHex*: Option[string]
- lightColorX*: Option[int]
- lightColorY*: Option[int]
+ lightColorX*: Option[float]
+ lightColorY*: Option[float]
lightColorTemperature*: Option[int]
lightBrightness*: int
@@ -89,8 +89,8 @@ type
lightColorHex*: string
of LightSetColorXY:
- lightColorX*: int
- lightColorY*: int
+ lightColorX*: float
+ lightColorY*: float
of LightSetHueSaturation:
lightHue*: int