Merge pull request #210 from Bew78LesellB/patch-1

Update finder.lua.in
This commit is contained in:
Emmanuel Lepage Vallée 2015-04-24 16:54:13 -04:00
commit dbd5aea7be
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ local function animate(self)
-- Check if the object should be grown or shrinked -- Check if the object should be grown or shrinked
-- the minimum radius is -data[self].factor because: -- the minimum radius is -data[self].factor because:
-- 1. factor is alway negative when shrinking -- 1. factor is alway negative when shrinking
-- 2. geometry() does not hande negative values -- 2. geometry() does not handle negative values
if data[self].factor > 0 and r >= data[self].radius if data[self].factor > 0 and r >= data[self].radius
or data[self].factor < 0 and r <= -data[self].factor then or data[self].factor < 0 and r <= -data[self].factor then
data[self].factor = -data[self].factor data[self].factor = -data[self].factor