this time got it right.
--- a/src/js/widgets/sliceWidget.js Mon Jan 23 11:04:57 2012 +0100
+++ b/src/js/widgets/sliceWidget.js Mon Jan 23 11:19:47 2012 +0100
@@ -71,9 +71,9 @@
var currentX = this.leftHandle.position()["left"];
var rightHandleX = Math.floor(this.rightHandle.position()["left"]);
- if (Math.floor(ui.position.left) >= rightHandleX - 6) {
+ if (Math.floor(ui.position.left) >= rightHandleX - 7) {
/* prevent the handle from moving past the right handle */
- ui.position.left = rightHandleX - 6;
+ ui.position.left = rightHandleX - 7;
}
this.zoneWidth = rightHandleX - Math.floor(ui.position.left) - 7;