mirror of
https://github.com/yingziwu/mastodon.git
synced 2026-02-04 03:25:14 +00:00
Update rubocop to version 1.80.2 (#36007)
This commit is contained in:
parent
4c2a2c27c1
commit
27969c3077
3 changed files with 6 additions and 6 deletions
|
|
@ -182,9 +182,9 @@ module Paperclip
|
|||
t += 1 if t.negative?
|
||||
t -= 1 if t > 1
|
||||
|
||||
return (p + ((q - p) * 6 * t)) if t < 1 / 6.0
|
||||
return p + ((q - p) * 6 * t) if t < 1 / 6.0
|
||||
return q if t < 1 / 2.0
|
||||
return (p + ((q - p) * ((2 / 3.0) - t) * 6)) if t < 2 / 3.0
|
||||
return p + ((q - p) * ((2 / 3.0) - t) * 6) if t < 2 / 3.0
|
||||
|
||||
p
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue