1
0
Fork 0

Added IDs to the macros in the default box.

This commit is contained in:
Thrunic 2023-11-08 17:23:53 -05:00
parent b03544cdd7
commit 4a81924e1e

View file

@ -26,11 +26,13 @@ function draftBox({ options, Point, Path, points, paths, Snippet, snippets, sa,
} }
macro('hd', { macro('hd', {
id: 'hWidth',
from: points.bottomLeft, from: points.bottomLeft,
to: points.bottomRight, to: points.bottomRight,
y: points.bottomLeft.y + sa + 15, y: points.bottomLeft.y + sa + 15,
}) })
macro('vd', { macro('vd', {
id: 'vHeight',
from: points.bottomRight, from: points.bottomRight,
to: points.topRight, to: points.topRight,
x: points.topRight.x + sa + 15, x: points.topRight.x + sa + 15,