mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
feat: add approximate elements in bbox detection (#6727)
Co-authored-by: dwelle <luzar.david@gmail.com>
This commit is contained in:
parent
dcf4592e79
commit
d5e3f436dc
14 changed files with 597 additions and 153 deletions
|
@ -505,3 +505,7 @@ export const rangeIntersection = (
|
|||
|
||||
return null;
|
||||
};
|
||||
|
||||
export const isValueInRange = (value: number, min: number, max: number) => {
|
||||
return value >= min && value <= max;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue