On 01/04/2012 02:46 AM, Marc Puts wrote:
> As for selecting a shape by clicking on it, I think that requires a tiny bit
> of qooxdoo magic that I'll post tomorrow, when I'm back at my development
> pc.
>
And here's the promised example of how to get back the shape that you
clicked on:
var elem
Oops, there was an error in my code.
The last line should be:
var draggable = new svg.behavior.PatchedDraggable(PV, translationForDragging);
--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a compl
Hi Pielle,
This is a known limitation of the Draggable class. The problem is that the
Draggable class used a transformation internally and overwrites the
transform property of the dragged element. Therefore it can't be used with
other transformations. The API doc of the Draggable class also mentio
I've applied a rotation to my rect shape:
var pvRot = new svg.coords.transform.Rotate(null,
parseFloat(data['rotXY']), cx,cx;
PV.setTransform(pvRot);
and set it draggable:
this.draggable = new svg.behavior.Draggable(PV);
but:
1) during the dragging, and so at the end, the