Made updateGripCursors work with negative angle values
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@485 eee81c28-f429-11dd-99c0-75d572ba1ddd
This commit is contained in:
@@ -288,6 +288,7 @@ function SvgCanvas(c)
|
||||
this.updateGripCursors = function(angle) {
|
||||
var dir_arr = [];
|
||||
var steps = Math.round(angle / 45);
|
||||
if(steps < 0) steps += 8;
|
||||
for (dir in this.selectorGrips) {
|
||||
dir_arr.push(dir);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user