749422100e
The function has several expressions of the form if self._private.dir == "y" then This patch stores the result of self._private.dir == "y" to avoid code duplication. Also remove the 'used_in_dir' and 'in_dir' variables since their values can be calculated using other variables in the function and updating them individually is error prone. This patch doesn't do any functional changes. Signed-off-by: Shay Agroskin <agrosshay@gmail.com> |
||
---|---|---|
.. | ||
align.lua | ||
constraint.lua | ||
fixed.lua | ||
flex.lua | ||
grid.lua | ||
init.lua | ||
manual.lua | ||
margin.lua | ||
mirror.lua | ||
ratio.lua | ||
rotate.lua | ||
scroll.lua | ||
stack.lua |