mirror of
https://github.com/GenderDysphoria/GenderDysphoria.fyi.git
synced 2025-11-25 12:32:42 +00:00
Update to latest @twipped/eslint-config
This commit is contained in:
@@ -63,10 +63,10 @@ const actions = {
|
||||
|
||||
// if upscale is not requested, restrict size
|
||||
if (!options.upscale) {
|
||||
if (!isNaN(options.width)) {
|
||||
if (!Number.isNaN(options.width)) {
|
||||
options.width = Math.min(options.width, size.width);
|
||||
}
|
||||
if (!isNaN(options.height)) {
|
||||
if (!Number.isNaN(options.height)) {
|
||||
options.height = Math.min(options.height, size.height);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user