[feat] Replace manual clamp function with lodash (#4874)

Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
Christian Byrne
2025-08-09 15:34:18 -07:00
committed by GitHub
parent 8f289c8e67
commit b745f533ba
8 changed files with 15 additions and 11 deletions

View File

@@ -1,9 +1,10 @@
import { clamp } from 'lodash'
import type {
ReadOnlyRect,
ReadOnlySize,
Size
} from '@/lib/litegraph/src/interfaces'
import { clamp } from '@/lib/litegraph/src/litegraph'
/**
* Basic width and height, with min/max constraints.