1
0
Fork 0

Update head.mjs

This commit is contained in:
Wouter van Wageningen 2024-09-28 08:39:52 -07:00 committed by GitHub
parent 5db597433e
commit 3f6da52e79
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -613,8 +613,7 @@ const options = {
min: 5, min: 5,
max: 500, max: 500,
menu: 'style', menu: 'style',
// eslint-disable-next-line no-empty-pattern toAbs: (val, _, mergedOptions) =>
toAbs: (val, {}, mergedOptions) =>
((mergedOptions.sizeConstant * val * 2) / Math.PI) * ((mergedOptions.sizeConstant * val * 2) / Math.PI) *
(mergedOptions.type === 'octopus' ? 1.7 : mergedOptions.type === 'squid' ? 2 : 1), (mergedOptions.type === 'octopus' ? 1.7 : mergedOptions.type === 'squid' ? 2 : 1),
}, },