fix event rotation bug, fix zone lines

This commit is contained in:
Redo
2025-07-22 00:26:35 -07:00
parent 6446a621c6
commit ec36d0d780
2 changed files with 3 additions and 14 deletions

View File

@ -22,14 +22,11 @@ function ndShapelineMove(%line, %p1,%p2) {
%rot = %axis SPC %angle;
// calculate shape scale
%scale = "1 1" SPC %vectorLen(%dir);
%scale = "1 1" SPC vectorLen(%dir);
%line.setTransform(%center SPC %rot);
%line.setScale(%scale);
}
function ndShapelineDelete(%line) {
%line.delete();
}
////////////////////////////////////////////////////////////////////////////////
// Box drawing