Fixed typo in README
This commit is contained in:
parent
625469fd9c
commit
6c45011cab
|
@ -0,0 +1 @@
|
||||||
|
color_rules
|
|
@ -7,9 +7,9 @@ local max = math.max
|
||||||
local min = math.min
|
local min = math.min
|
||||||
local pow = math.pow
|
local pow = math.pow
|
||||||
local random = math.random
|
local random = math.random
|
||||||
-- local debug = require("helpers").debug
|
|
||||||
local gcolor = require("gears.color")
|
local gcolor = require("gears.color")
|
||||||
local parse_color = gcolor.parse_color
|
local parse_color = gcolor.parse_color
|
||||||
|
|
||||||
-- Returns a value that is clipped to interval edges if it falls outside the interval
|
-- Returns a value that is clipped to interval edges if it falls outside the interval
|
||||||
local function clip(num, min_num, max_num) return
|
local function clip(num, min_num, max_num) return
|
||||||
max(min(num, max_num), min_num) end
|
max(min(num, max_num), min_num) end
|
||||||
|
|
Loading…
Reference in New Issue