From 6c45011cab3ebd4cae4e3b8040c23b103b86e1f4 Mon Sep 17 00:00:00 2001 From: mut-ex Date: Thu, 3 Sep 2020 23:34:35 -0400 Subject: [PATCH] Fixed typo in README --- .gitignore | 1 + colors.lua | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..51a4bc8 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +color_rules \ No newline at end of file diff --git a/colors.lua b/colors.lua index be56c7a..9e04d02 100644 --- a/colors.lua +++ b/colors.lua @@ -7,9 +7,9 @@ local max = math.max local min = math.min local pow = math.pow local random = math.random --- local debug = require("helpers").debug local gcolor = require("gears.color") local parse_color = gcolor.parse_color + -- Returns a value that is clipped to interval edges if it falls outside the interval local function clip(num, min_num, max_num) return max(min(num, max_num), min_num) end