Skip to content

Commit bfd0720

Browse files
committed
Increase character width estimates for node dimension calculation
1 parent d9f996a commit bfd0720

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/lib/constants/dimensions.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ export const EVENT = {
4343
export const EXPORT_PADDING = G.x4;
4444

4545
/**
46-
* Round up to next 2G (20px) boundary for symmetric expansion.
47-
* This ensures nodes expand evenly from center.
46+
* Round up to next 2G (20px) boundary.
47+
* This ensures nodes expand by 1G in each direction (symmetric from center).
4848
*/
4949
export function snapTo2G(value: number): number {
5050
return Math.ceil(value / G.x2) * G.x2;

0 commit comments

Comments
 (0)