Made updateGripCursors work with negative angle values
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@485 eee81c28-f429-11dd-99c0-75d572ba1dddmaster
parent
3bb5c42198
commit
841d1c24d3
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue