summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lightctx.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lightctx.c b/src/lightctx.c
index cfa140f..8551882 100644
--- a/src/lightctx.c
+++ b/src/lightctx.c
@@ -98,6 +98,11 @@ void attr_movey(struct lightctx *nl, signed int d, int fine)
switch ( nl->sel_attr ) {
+ case INTENSITY :
+ fix->intensity += chg;
+ cap_value(&fix->intensity, 0.0, 1.0);
+ break;
+
case PANTILT :
fix->tilt += chg;
cap_value(&fix->tilt, -1.0, 1.0);