Made Opera rotation less broken
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@949 eee81c28-f429-11dd-99c0-75d572ba1dddmaster
parent
b0d826a24b
commit
3d3c1f4454
|
@ -274,6 +274,7 @@ body {
|
|||
stroke-dasharray: none;
|
||||
opacity: 1;
|
||||
pointer-events: stroke;
|
||||
vector-effect: non-scaling-stroke;
|
||||
}
|
||||
|
||||
#workarea.wireframe #svgcontent text {
|
||||
|
|
|
@ -1934,6 +1934,13 @@ function BatchCommand(text) {
|
|||
}
|
||||
}
|
||||
|
||||
if(showGrips) {
|
||||
selectorManager.requestSelector(selectedElements[0]).showGrips(true);
|
||||
}
|
||||
else if (selectedElements.length > 1) {
|
||||
selectorManager.requestSelector(selectedElements[0]).showGrips(false);
|
||||
}
|
||||
|
||||
// make sure the elements are in the correct order
|
||||
// See: http://www.w3.org/TR/DOM-Level-3-Core/core.html#Node3-compareDocumentPosition
|
||||
|
||||
|
@ -1943,13 +1950,9 @@ function BatchCommand(text) {
|
|||
}
|
||||
});
|
||||
|
||||
|
||||
if(showGrips) {
|
||||
selectorManager.requestSelector(selectedElements[0]).showGrips(true);
|
||||
}
|
||||
else if (selectedElements.length > 1) {
|
||||
selectorManager.requestSelector(selectedElements[0]).showGrips(false);
|
||||
}
|
||||
// Make sure null value is at the end
|
||||
if(!selectedElements[0]) selectedElements.push(selectedElements.shift());
|
||||
|
||||
};
|
||||
|
||||
// TODO: could use slice here to make this faster?
|
||||
|
|
Loading…
Reference in New Issue