fix event rotation bug, fix zone lines
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user