mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
Set Trailing Cmma to (#525)
This commit is contained in:
parent
25202aec11
commit
ee68af0fd3
53 changed files with 352 additions and 350 deletions
|
@ -10,7 +10,7 @@ export function isInvisiblySmallElement(element: ExcalidrawElement): boolean {
|
|||
export function getPerfectElementSize(
|
||||
elementType: string,
|
||||
width: number,
|
||||
height: number
|
||||
height: number,
|
||||
): { width: number; height: number } {
|
||||
const absWidth = Math.abs(width);
|
||||
const absHeight = Math.abs(height);
|
||||
|
@ -33,7 +33,7 @@ export function getPerfectElementSize(
|
|||
export function resizePerfectLineForNWHandler(
|
||||
element: ExcalidrawElement,
|
||||
x: number,
|
||||
y: number
|
||||
y: number,
|
||||
) {
|
||||
const anchorX = element.x + element.width;
|
||||
const anchorY = element.y + element.height;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue