discovered a bug in jqueryui. wontfix.
--- a/src/js/widgets/sliceWidget.js Fri Feb 03 15:11:03 2012 +0100
+++ b/src/js/widgets/sliceWidget.js Fri Feb 03 15:30:56 2012 +0100
@@ -23,18 +23,20 @@
var left = this.selector.offset().left;
var top = this.selector.offset().top;
-
+
// contain the handles correctly - we cannot set
// containment: parent because it wouldn't allow to select the
// whole slice, so we have to compute a box in which the slice is
// allowed to move.
var containment = [left - 8, top, this.selector.width() + left, top];
+ // var containment = [left - 16, top, this.selector.width() + left - 8, top];
this.leftHandle.draggable({axis: "x",
drag: IriSP.wrap(this, this.leftHandleDragged),
containment: containment
});
containment = [left, top, this.selector.width() + left, top];
+ // containment = [left, top, this.selector.width() + left - 8, top];
this.rightHandle.draggable({axis: "x",
drag: IriSP.wrap(this, this.rightHandleDragged),
containment: containment