Eric Waldheim schrieb: > I think you're missing an update of Drag._StartMouse in _drag. > > I added the last line here and the example worked: > > _drag: function(e) { > e.stop(); > // Drag._StartPos contains the element position , when > the drag hast starteds > var vDiff = Drag._diff(e.mouse().page, Drag._StartMouse); > Drag._StartMouse = e.mouse().page; > > Eric
Thanks a lot! I tried to calculate Position from the start of drag, to keep the original position. With the update of _StartPos within _drag() I do incremental positioning. This is fine for now. During the next days I'll try to implement the special cases to prevent shrinking rectangles to zero. Andy --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "MochiKit" group. To post to this group, send email to mochikit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/mochikit -~----------~----~----~----~------~----~------~--~---