1
0
Fork 0

Update head.mjs

This commit is contained in:
Wouter van Wageningen 2024-09-26 22:50:35 -07:00 committed by GitHub
parent fb94c24d17
commit 5db597433e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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