summaryrefslogtreecommitdiffstats
path: root/examples/textconf
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--examples/textconf5
1 files changed, 2 insertions, 3 deletions
diff --git a/examples/textconf b/examples/textconf
index 1e00c6b..acddc79 100644
--- a/examples/textconf
+++ b/examples/textconf
@@ -469,10 +469,9 @@ def periodically(year, month, day, hour, minute, second, weekday, fade):
for adjustment in adjustments:
adjustment(timepoint, alpha)
- r, g, b = r_curve[:], g_curve[:], b_curve[:]
-
+ stored = store()
for crtcs, screens, output_adjustments in monitors:
- r_curve[:], g_curve[:], b_curve[:] = r, g, b
+ restore(stored)
for adjustment in output_adjustments:
adjustment(timepoint, alpha)